zsh: implement multi-dot directory change without cd
This commit is contained in:
@@ -2,5 +2,4 @@ parse_git_branch() {
|
||||
git symbolic-ref --short HEAD 2> /dev/null | sed -E 's/(.+)/ [\1]/g'
|
||||
}
|
||||
|
||||
setopt prompt_subst
|
||||
PROMPT='%F{yellow}%m%F{none}:%F{blue}%2d%F{none}%F{red}$(parse_git_branch) %F{%(?.green.red)}%#%F{none} '
|
||||
|
||||
Reference in New Issue
Block a user