Change some scripts a bit

This commit is contained in:
Jonathan Hodgson 2019-10-29 13:50:18 +00:00
parent 22d3634415
commit 3c6b8fd06c
5 changed files with 96 additions and 5 deletions

View file

@ -28,6 +28,7 @@ function unset_project(){
rm "$SYMLINC" 2> /dev/null
# See note about SIGWINCH below
pkill -u $USER -SIGWINCH zsh
project hosts hosts_file
fi
}
@ -39,6 +40,7 @@ function set_project(){
fi
ln -s "$switchto" "$SYMLINC"
pkill -u $USER -SIGWINCH zsh
project hosts hosts_file
else
echo "No such directory $switchto"
exit 1