Created
December 25, 2017 18:53
-
-
Save MBehtemam/bbb3f845c42d38908cc275321aec1658 to your computer and use it in GitHub Desktop.
Shorten prompt for Bash on ubuntu on windows
This file contains hidden or 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
//first | |
cd ~ | |
//then | |
vim .bash_profile | |
//and after that put this line and save and opne/close bash on ubuntu on windows | |
export PS1="\e[0;31m[\u@\h \W]\$ \e[m" | |
//Now the result is something like | |
[MBehteamam@DESKTOP-KNMGBNV try]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment