vim/emacs: remove vestigial bootstrap scripts; add install+update scripts
This commit is contained in:
parent
459d32595b
commit
8c953a87b3
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
case "$OSTYPE" in
|
case "$OSTYPE" in
|
||||||
darwin*)
|
darwin*)
|
||||||
|
@ -8,7 +8,7 @@ case "$OSTYPE" in
|
||||||
;;
|
;;
|
||||||
linux*)
|
linux*)
|
||||||
if [ -f /etc/arch-release ]; then
|
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
|
elif [ -f /etc/debian_version ]; then
|
||||||
sudo apt-get install make emacs python
|
sudo apt-get install make emacs python
|
||||||
fi
|
fi
|
6
editor/emacs/update
Executable file
6
editor/emacs/update
Executable 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
6
editor/vim/update
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if [[ -d ~/.vim ]]
|
||||||
|
then
|
||||||
|
cd ~/.vim && make update
|
||||||
|
fi
|
Loading…
Reference in a new issue