added update alias

This commit is contained in:
2026-02-03 21:48:04 +00:00
parent d3e74852af
commit 301a806b78
2 changed files with 3 additions and 2 deletions

View File

@@ -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

1
zshrc
View File

@@ -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