fish: rename prompt functions
This commit is contained in:
parent
2738e8d6a9
commit
584034e053
9 changed files with 27 additions and 27 deletions
5
cli/.config/fish/functions/fish_prompt.user.fish
Normal file
5
cli/.config/fish/functions/fish_prompt.user.fish
Normal file
|
@ -0,0 +1,5 @@
|
|||
function fish_prompt.user
|
||||
if test -n "$SSH_CONNECTION" || string match -qe root "$USER"
|
||||
fish_prompt.add $USER@$hostname brblack
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue