mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Merge 1cdd20d1de into 5667161d49
This commit is contained in:
commit
64f4d159c4
1 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,8 @@ if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
|
|||
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||||
|
||||
# primary prompt
|
||||
PROMPT='$FG[237]------------------------------------------------------------%{$reset_color%}
|
||||
ln_sep() { printf '-%.0s' {1..$COLUMNS}; }
|
||||
PROMPT='$FG[237]$(ln_sep)%{$reset_color%}
|
||||
$FG[032]%~\
|
||||
$(git_prompt_info) \
|
||||
$FG[105]%(!.#.»)%{$reset_color%} '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue