Update bin/update

This commit is contained in:
Henrik Lissner 2016-07-08 17:06:28 -04:00
parent 3f44c6f51a
commit dcf1574b9d

View file

@ -19,25 +19,6 @@ up-to-date() {
cd "$HOME/.emacs.d" && make update | indent
}
local env=(rb py)
for i in $env
do
[ -d "$HOME/.${i}env" ] && {
echo "Updating ${i}env"
{
git pull > /dev/null
{
for plugin in "$HOME"/.${i}env/plugins/*
do
cd "$plugin"
echo "+ `basename ${plugin}`"
git pull > /dev/null
done
} 2>&1 | indent
} 2>&1 | indent
}
done
[ -d ~/.zsh/zgen ] && {
echo "Updating zgen"
{
@ -47,3 +28,19 @@ done
} 2>&1 | indent
}
local env=(rb py)
for i in $env
do
[ -d "$HOME/.${i}env" ] && {
echo "Updating ${i}env"
{
for plugin in "$HOME"/.${i}env/plugins/*
do
cd "$plugin"
echo "+ `basename ${plugin}`"
git pull > /dev/null
done
} 2>&1 | indent
}
done