.zsh/functions/prompt
This commit is contained in:
parent
077eec9732
commit
7ddb26b590
1 changed files with 2 additions and 1 deletions
|
@ -17,4 +17,5 @@ fi
|
||||||
|
|
||||||
printf '%s %s%s%s:%s%s%s ' \
|
printf '%s %s%s%s:%s%s%s ' \
|
||||||
"%{${fg[magenta]}%}" $hostname "%{${fg[default]}%}" \
|
"%{${fg[magenta]}%}" $hostname "%{${fg[default]}%}" \
|
||||||
"%{${fg[green]}%}" "%~" "%{${fg[default]}%}"
|
"%(?.%{${fg[green]}%}.%{${fg[red]}%})" "%~" \
|
||||||
|
"%{${fg[default]}%}"
|
||||||
|
|
Loading…
Reference in a new issue