Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a username/hostname section to the prompt #62

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

thenktor
Copy link

When connecting to remote hosts via ssh or when entering containers (Linux LXC, FreeBSD jails, Solaris zones) it is nice to see where you are working now. Therefore I've added a username/hostname section to the beginning of the prompt.

It always show username@hostname for remote/container prompts. You can set activate hydro_always_show_user to always show the username. Useful when using su to change user on local machines.

Fix for #50

Co-authored-by: Ryan King <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants