Include user in prompt if not the normal user
This commit is contained in:
parent
bdfce892e4
commit
cb958c0da3
4 changed files with 17 additions and 4 deletions
5
fish/functions/prompt_user.fish
Normal file
5
fish/functions/prompt_user.fish
Normal file
|
@ -0,0 +1,5 @@
|
|||
function prompt_user
|
||||
if test (whoami) != "$fish_normal_user"
|
||||
echo (whoami)"@"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue