mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Setting cur dir max length as 40
This commit is contained in:
parent
667bd563a1
commit
ccf8bd0e89
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
|
||||
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||||
|
||||
PROMPT='%{$fg[$NCOLOR]%}%n%{$fg[green]%}@%m%{$reset_color%} %~ \
|
||||
PROMPT='%{$fg[$NCOLOR]%}%n%{$fg[green]%}@%m:%40<...<%{$reset_color%} %~ \
|
||||
%{$fg[red]%}%(!.#.»)%{$reset_color%} '
|
||||
RPROMPT='%{$fg[red]%}«%{$reset_color%} $(git_prompt_info) %F{blue} %F{green}%D{%L:%M} %F{yellow}%D{%p}%f'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue