vim/emacs: remove vestigial bootstrap scripts; add install+update scripts

This commit is contained in:
Henrik Lissner 2016-10-22 14:03:53 +02:00
parent 459d32595b
commit 8c953a87b3
4 changed files with 14 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
case "$OSTYPE" in
darwin*)
@ -8,7 +8,7 @@ case "$OSTYPE" in
;;
linux*)
if [ -f /etc/arch-release ]; then
sudo pacman -S make emacs python2
sudo pacman --noconfirm -S make emacs python2
elif [ -f /etc/debian_version ]; then
sudo apt-get install make emacs python
fi

6
editor/emacs/update Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
if [[ -d ~/.emacs.d ]]
then
cd ~/.emacs.d && make update
fi

6
editor/vim/update Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
if [[ -d ~/.vim ]]
then
cd ~/.vim && make update
fi