From dfdf1b85887abc947bcfc3f7c3b7c3e00f343ba5 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sun, 8 Nov 2015 10:44:03 -0800 Subject: [PATCH] Basic skel update script. --- dotfiles/zshrc.d/update_skel.zsh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 dotfiles/zshrc.d/update_skel.zsh diff --git a/dotfiles/zshrc.d/update_skel.zsh b/dotfiles/zshrc.d/update_skel.zsh new file mode 100644 index 0000000..b492fcf --- /dev/null +++ b/dotfiles/zshrc.d/update_skel.zsh @@ -0,0 +1,7 @@ +update_skel() { + (cd $(dirname $(readlink $HOME/.profile)) && + cd $(git rev-parse --show-toplevel) && + git pull && + ./install.sh + ) +}