mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
Remove unused "prefix" variable in prompt presets
[ci skip]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user