Initial commit.

This commit is contained in:
2018-05-17 16:59:54 +02:00
commit 7f90a67487
3 changed files with 74 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
export DOTCONFDIR=~/.dotconfigs
function dotconf () {
case "$1" in
"setup")
ln -s $DOTCONFDIR/zsh/zshrc ~/.zshrc
ln -s $DOTCONFDIR/tmux/tmux.conf ~/.tmux.conf
;;
"update")
OLDDIR="$(PWD)"
cd $DOTCONFDIR && git pull origin
cd "$OLDDIR"
;;
*)
echo "Usage: dotconf [setup|update]."
;;
esac
}