Created
July 29, 2009 13:48
-
-
Save erikbgithub/158173 to your computer and use it in GitHub Desktop.
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
export PS1="\[\033[01;36m\]`ifconfig -a |\ | |
perl -ne 'if (m/^\s*inet (?:Adresse:)?([\d.]+).*?cast/) \ | |
{print qq($1); exit 0; }'`\[\033[00m\]:\[\033[01;36m\]\W \ | |
\[\033[01;36m\]\u\[\033[00m\]\$ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment