Last active
December 16, 2015 23:59
-
-
Save Zeklandia/5517744 to your computer and use it in GitHub Desktop.
The environmental variable for the bash prefix to your commands. This can also be set in `/etc/bash.bashrc`
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
#!/bin/bash | |
PS1='\[\e[0;0m\e[1;30m\][\[\e[1;97m\]\d\[\e[1;30m\], \[\e[1;97m\]\t\[\e[1;30m\]]\n\[\e[1;30m\][\[\e[0;36m\]\u\[\e[1;30m\]@\[\e[0;36m\]\h\[\e[1;30m\]]\n\[\e[1;30m\][\[\e[0;37m\]\w\[\e[1;30m\]] \[\e[1;37m\]\$\[\e[0m\] ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To install this, do
nano /etc/bash.bashrc
and replace the existing line that starts inPS1=
and replace it with this one. You will have to remove all user.bashrc
s by doingrm /*/.bashrc
.