fix: reload-zsh fn

This commit is contained in:
2023-05-22 12:11:03 +03:00
parent a95606970c
commit d7495e4638
2 changed files with 6 additions and 2 deletions

View File

@@ -379,3 +379,7 @@ tn-prj() {
tn-custom -d "$HOME/Dev/$prj" -s "$prj" . $@
}
reload-zsh() {
source $HOME/.zshrc
}

View File

@@ -33,11 +33,11 @@ home() {
pull | l)
git -C "$DOTFILES" pull
if [[ $? -eq 0 ]]; then
source $DOTFILES/scripts/home/home.sh
reload-zsh
fi
;;
reload-term | rt)
source $DOTFILES/.zshrc
reload-zsh
return 0
;;
reload-home | rh)