Hacker News new | past | comments | ask | show | jobs | submit login

  It cuts out the fluff
To me it looks like the exact opposite.



I had the same feeling. I already know my username, and if there's a directory name before my prompt the "in" is implicit.


Do you know your username when you are using connected to a tmux over ssh that may or may not have another, very similar, server running inside of a screen?


Which is why you setup your shell (bash/zsh/fish) to check for the existence of $SSH_CLIENT. If it exists, you can assume you're connecting via SSH and add username and hostname to $PS1.


You are not alone.

I'd go further and say anyone who prefers Bash is someone who does not mind a little or even a lot of fluff.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: