mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03:00
Use test command instead of bracket command
This commit is contained in:
committed by
ridiculousfish
parent
d28ddb9dc8
commit
30400f3ced
@@ -64,7 +64,7 @@ function fish_prompt
|
||||
set_color -o white
|
||||
echo -n @
|
||||
|
||||
if [ -z "$SSH_CLIENT" ]
|
||||
if test -z "$SSH_CLIENT"
|
||||
set_color -o blue
|
||||
else
|
||||
set_color -o cyan
|
||||
|
||||
Reference in New Issue
Block a user