[fish] Add client name to fish prompt.

This commit is contained in:
Sebastian Schulze 2016-02-12 12:23:08 +01:00
parent 6c39f9cd21
commit eb70df4e89
1 changed files with 5 additions and 0 deletions

View File

@ -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 " \$ "