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 -- I spend a lot of time in my editors; programming, writing, brainstorming, testing --
these dotfiles set them up. 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. vs Vim? The answer is both.
+ neovim: my heavier-duty vim config, for systems I have more control over. + **neovim:** my heavier-duty vim config, for systems I have more control over.
+ vim: same as neovim, but for vanilla vim + **vim:** same as neovim, but for vanilla vim
+ vimlite: a light, plug-free config for systems I have no control over. + **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*) linux*)
if [[ -f /etc/arch-release ]]; then 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 elif [[ -f /etc/debian_version ]]; then
sudo apt-get install make emacs python sudo apt-get install -y make emacs
fi fi
if [[ ! -d ~/.cask ]]; then if [[ ! -d ~/.cask ]]; then

View file

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

View file

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

View file

@ -1,12 +1,12 @@
#!/usr/bin/env bash #!/usr/bin/env bash
case "$OSTYPE" in case $OSTYPE in
darwin*) darwin*)
brew install make vim brew install make vim
;; ;;
linux*) linux*)
if [[ -f /etc/arch-release ]]; then 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 elif [[ -f /etc/debian_version ]]; then
# TODO # TODO
exit 1 exit 1

View file

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