Add CD hook for smart prompt selection to zsh
This commit is contained in:
parent
4acb5c71e7
commit
313cefd5d1
1 changed files with 4 additions and 0 deletions
4
zshrc
4
zshrc
|
@ -43,3 +43,7 @@ prompt() {
|
|||
export PROMPT_set=$1
|
||||
}
|
||||
prompt $PROMPT_set
|
||||
|
||||
chpwd() {
|
||||
source smartprompt
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue