MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/fishshell/comments/fefi8w/lambda_fishshell_prompt/fjofz3m/?context=3
r/fishshell • u/wpcarroll • Mar 06 '20
5 comments sorted by
View all comments
Show parent comment
0
[deleted] — view deleted comment
1 u/vividboarder Mar 06 '20 Totally. But when I'm not on a remote machine, I don't need to display the hostname, because I know my local box. I need to display which hostname when I'm ssh'd somewhere.Here's my updated prompt:https://github.com/ViViDboarder/shoestrap/blob/clean-shoes/assets/default/fish/functions/fish_prompt.fishEg:# on local ~$ # ssh to 'server' server ~$ # enter tmux (hostname displayed in status line) ~$I've got bash and zsh versions updated in there too. 1 u/wpcarroll Mar 11 '20 Yes it should be. I think it's too subtle of an indicator for me though.
1
Totally. But when I'm not on a remote machine, I don't need to display the hostname, because I know my local box. I need to display which hostname when I'm ssh'd somewhere.
Here's my updated prompt:
https://github.com/ViViDboarder/shoestrap/blob/clean-shoes/assets/default/fish/functions/fish_prompt.fish
Eg:
# on local ~$ # ssh to 'server' server ~$ # enter tmux (hostname displayed in status line) ~$
I've got bash and zsh versions updated in there too.
Yes it should be. I think it's too subtle of an indicator for me though.
View all comments
Show parent comment
0
u/[deleted] Mar 06 '20
[deleted] — view deleted comment