Skip to content

Instantly share code, notes, and snippets.

@girol
Last active August 18, 2018 22:13
Show Gist options
  • Save girol/f03258686b5a19c1b9ddf6bff9605d49 to your computer and use it in GitHub Desktop.
Save girol/f03258686b5a19c1b9ddf6bff9605d49 to your computer and use it in GitHub Desktop.
Custom Bash PS1
# Hostname hardcoded for weird hosting names
# Generates a nice hostname for use in hosting services that creates random users and random nameservers
#
# Helps to track whare you are logged in when using ssh
#
# Generated with: http://ezprompt.net/
export PS1="\[\e[36m\]hostname\[\e[m\]:\W\[\e[34m\] \$\[\e[m\] "
@girol
Copy link
Author

girol commented Aug 18, 2018

Rename the file to .bashrc into your home folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment