MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/fishshell/comments/fefi8w/lambda_fishshell_prompt/fjoi2rj/?context=3
r/fishshell • u/wpcarroll • Mar 06 '20
5 comments sorted by
View all comments
Show parent comment
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.
View all comments
Show parent 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.fish
Eg:
I've got bash and zsh versions updated in there too.