We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e160b55 commit b766335Copy full SHA for b766335
1 file changed
zsh/prompt
@@ -24,8 +24,8 @@ _josh_prompt_precmd() {
24
local host_prompt=""
25
local host_format="%m"
26
local job_prompt="%(1j.%F{24}[%j]%f .)%f"
27
- local dir_prompt="%B%F{blue}%3~%f%b"
28
- # local dir_prompt="%B%F{blue}$(shrink-path -f)%f%b"
+ # local dir_prompt="%B%F{blue}%3~%f%b"
+ local dir_prompt="%B%F{blue}$(shrink-path -l 2 -s -t)%f%b"
29
30
if [[ -n $SSH_CONNECTION ]]; then
31
host_prompt="%B%F{yellow}${user_format}${host_format}%f:%b"
0 commit comments