diff --git a/install.sh b/install.sh index 1ac6881..40656a4 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ #!/bin/bash git clone https://git.hserve.win/Mihit/ZSH-Config ~/.zsh_conf -ln -s ~/.zsh_conf/zshrc .zshrc -chsh -s /usr/bin/zsh +ln -s ~/.zsh_conf/zshrc ~/.zshrc +chsh -s /usr/bin/zsh \ No newline at end of file diff --git a/zshrc b/zshrc index 60313dc..26d20f4 100644 --- a/zshrc +++ b/zshrc @@ -21,6 +21,7 @@ setopt histignorealldups sharehistory #Alias alias ..='cd ..' +alias update_zsh='cd ~/.zsh_conf && git pull && cd' # Use emacs keybindings even if our EDITOR is set to vi bindkey -e