mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 14:23:09 +00:00
__fish_print_pipestatus: Add missing quotes
If this was called without an argument you'd not have a valid `test` invocation. Gosh I hate test.
This commit is contained in:
parent
a407af2944
commit
3eff7b26bf
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ function __fish_print_pipestatus --description "Print pipestatus for prompt"
|
||||||
set -l sep $brace_sep_color$separator$status_color
|
set -l sep $brace_sep_color$separator$status_color
|
||||||
set -l last_pipestatus_string (fish_status_to_signal $argv | string join "$sep")
|
set -l last_pipestatus_string (fish_status_to_signal $argv | string join "$sep")
|
||||||
set -l last_status_string ""
|
set -l last_status_string ""
|
||||||
if test $last_status -ne $argv[-1]
|
if test "$last_status" -ne "$argv[-1]"
|
||||||
set last_status_string " "$status_color$last_status
|
set last_status_string " "$status_color$last_status
|
||||||
end
|
end
|
||||||
printf "%s" $brace_sep_color $left_brace \
|
printf "%s" $brace_sep_color $left_brace \
|
||||||
|
|
Loading…
Reference in a new issue