mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
Remove unused "prefix" variable in prompt presets
[ci skip]
This commit is contained in:
parent
bcf2e2cdbd
commit
23042b6a43
2 changed files with 0 additions and 2 deletions
|
@ -8,7 +8,6 @@ function fish_prompt --description 'Write out the prompt'
|
|||
|
||||
# Color the prompt differently when we're root
|
||||
set -l color_cwd $fish_color_cwd
|
||||
set -l prefix
|
||||
set -l suffix '>'
|
||||
if contains -- $USER root toor
|
||||
if set -q fish_color_cwd_root
|
||||
|
|
|
@ -57,7 +57,6 @@ function fish_prompt --description 'Write out the prompt'
|
|||
end
|
||||
|
||||
set -l color_cwd
|
||||
set -l prefix
|
||||
set -l suffix
|
||||
switch "$USER"
|
||||
case root toor
|
||||
|
|
Loading…
Reference in a new issue