Add CD hook for smart prompt selection to zsh

This commit is contained in:
Talia 2021-06-28 09:08:36 +02:00
parent 4acb5c71e7
commit 313cefd5d1
1 changed files with 4 additions and 0 deletions

4
zshrc
View File

@ -43,3 +43,7 @@ prompt() {
export PROMPT_set=$1 export PROMPT_set=$1
} }
prompt $PROMPT_set prompt $PROMPT_set
chpwd() {
source smartprompt
}