added update alias
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
git clone https://git.hserve.win/Mihit/ZSH-Config ~/.zsh_conf
|
git clone https://git.hserve.win/Mihit/ZSH-Config ~/.zsh_conf
|
||||||
ln -s ~/.zsh_conf/zshrc .zshrc
|
ln -s ~/.zsh_conf/zshrc ~/.zshrc
|
||||||
chsh -s /usr/bin/zsh
|
chsh -s /usr/bin/zsh
|
||||||
1
zshrc
1
zshrc
@@ -21,6 +21,7 @@ setopt histignorealldups sharehistory
|
|||||||
|
|
||||||
#Alias
|
#Alias
|
||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
|
alias update_zsh='cd ~/.zsh_conf && git pull && cd'
|
||||||
|
|
||||||
# Use emacs keybindings even if our EDITOR is set to vi
|
# Use emacs keybindings even if our EDITOR is set to vi
|
||||||
bindkey -e
|
bindkey -e
|
||||||
|
|||||||
Reference in New Issue
Block a user