Created
February 1, 2012 21:02
-
-
Save gcorreaq/1719309 to your computer and use it in GitHub Desktop.
Change the command prompt in Ubuntu to show only "user@host:current_directory $ "
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1="\u@\h:\W \$ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: http://askubuntu.com/questions/16728/hide-current-working-directory-in-terminal