Refactor editor/* install/update scripts + readme
This commit is contained in:
parent
22b37d7d95
commit
d58ca79f24
|
@ -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.
|
||||
|
|
|
@ -1 +1 @@
|
|||
path=(~/.cask/bin $path)
|
||||
path=($HOME/.cask/bin $path)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue