Skip to content

Commit

Permalink
fix: Uses directory name instead of path
Browse files Browse the repository at this point in the history
  • Loading branch information
lukecollier committed Jan 3, 2024
1 parent e598439 commit a56695a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ autoload -Uz vcs_info
precmd() { vcs_info }
zstyle ':vcs_info:git:*' formats '%b '
setopt PROMPT_SUBST
PROMPT='%F{yellow}%*%f %F{reset}%~%f %F{green}${vcs_info_msg_0_}%F{reset}'
PROMPT='%F{yellow}%*%f %F{reset}$(basename $PWD)%f %F{green}${vcs_info_msg_0_}%F{reset}'

0 comments on commit a56695a

Please sign in to comment.