[fish] Add client name to fish prompt.
This commit is contained in:
parent
6c39f9cd21
commit
eb70df4e89
|
@ -7,6 +7,11 @@ function fish_prompt
|
|||
case '*'
|
||||
set logo "?"
|
||||
end
|
||||
|
||||
if not [ -z $CLIENT ]
|
||||
echo -n "[$CLIENT] "
|
||||
end
|
||||
|
||||
set_color blue
|
||||
echo -n $logo (pwd)
|
||||
echo -n " \$ "
|
||||
|
|
Loading…
Reference in New Issue