fish: Fix root prompt color
parent
bca34f3114
commit
ff9027a80b
|
@ -13,7 +13,7 @@ function fish_prompt
|
||||||
## Path
|
## Path
|
||||||
set -l cwd_color $fish_color_cwd
|
set -l cwd_color $fish_color_cwd
|
||||||
if test (id -u) -eq 0
|
if test (id -u) -eq 0
|
||||||
set -l cwd_color $fish_color_cwd_root
|
set cwd_color $fish_color_cwd_root
|
||||||
end
|
end
|
||||||
set PROMPT_PWD (prompt_pwd)
|
set PROMPT_PWD (prompt_pwd)
|
||||||
printf "%s%s%s%s" \
|
printf "%s%s%s%s" \
|
||||||
|
|
Loading…
Reference in New Issue