Refactor editor/* install/update scripts + readme

This commit is contained in:
Henrik Lissner 2016-12-24 15:57:44 -05:00
parent 22b37d7d95
commit d58ca79f24
7 changed files with 14 additions and 15 deletions

View file

@ -3,8 +3,8 @@
I spend a lot of time in my editors; programming, writing, brainstorming, testing --
these dotfiles set them up.
+ emacs: my full-blown (and primary) development environment, running [evil-mode]. Emacs
+ **emacs:** my full-blown (and primary) development environment, running [evil-mode]. Emacs
vs Vim? The answer is both.
+ neovim: my heavier-duty vim config, for systems I have more control over.
+ vim: same as neovim, but for vanilla vim
+ vimlite: a light, plug-free config for systems I have no control over.
+ **neovim:** my heavier-duty vim config, for systems I have more control over.
+ **vim:** same as neovim, but for vanilla vim
+ **vimlite:** a light, plugin-free config for systems I have no control over.

View file

@ -1 +1 @@
path=(~/.cask/bin $path)
path=($HOME/.cask/bin $path)

View file

@ -8,9 +8,9 @@ case "$OSTYPE" in
;;
linux*)
if [[ -f /etc/arch-release ]]; then
sudo pacman --noconfirm -S make emacs python2
sudo pacman --needed --noconfirm -S make emacs
elif [[ -f /etc/debian_version ]]; then
sudo apt-get install make emacs python
sudo apt-get install -y make emacs
fi
if [[ ! -d ~/.cask ]]; then

View file

@ -2,7 +2,7 @@
command -v nvim >/dev/null && exit
case "$OSTYPE" in
case $OSTYPE in
darwin*)
brew install make
brew install --HEAD neovim/neovim/neovim

View file

@ -1,9 +1,8 @@
#!/bin/bash
#!/usr/bin/env bash
command -v nvim >/dev/null || exit
if [ -d "$HOME/.vim" ]
then
if [[ -d "$HOME/.vim" ]]; then
cd "$HOME/.vim"
make update
fi

View file

@ -1,12 +1,12 @@
#!/usr/bin/env bash
case "$OSTYPE" in
case $OSTYPE in
darwin*)
brew install make vim
;;
linux*)
if [[ -f /etc/arch-release ]]; then
sudo pacman --noconfirm -S make vim
sudo pacman --needed --noconfirm -S make vim
elif [[ -f /etc/debian_version ]]; then
# TODO
exit 1

View file

@ -1,12 +1,12 @@
#!/usr/bin/env bash
case "$OSTYPE" in
case $OSTYPE in
darwin*)
brew install vim
;;
linux*)
if [[ -f /etc/arch-release ]]; then
sudo pacman --noconfirm -S vim
sudo pacman --needed --noconfirm -S vim
elif [[ -f /etc/debian_version ]]; then
sudo apt-get install -y vim
exit 1