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 --
|
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.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
path=(~/.cask/bin $path)
|
path=($HOME/.cask/bin $path)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue