Bash command prompts

11 Oct

Best prompt:
export PS1=”\[33[36m\][\t]\[33[1;33m\]\u\[33[0m\]@\e[31;1mPRODUCTION:\[33[36m\][\w]:\[33[0m\]”

Favoured stuff:
export PS1=”\[33[36m\][\t]\[33[1;33m\]\u\[33[0m\]@\[\e[32;1m\]\H \e:\[33
alias vi=”/usr/bin/vim”

Standard prompt:
export PS1="\[33[36m\][\t]\[33[1;33m\]\u\[33[0m\]@\h:\[33[36m\][\w]:\[33[0m\]"

I might prefer these colors:

export PS1="\[\e[36;1m\]\u@\[\e[32;1m\]\H \e[31;1mBACKUP> \[\e[0m\]"

Maybe all green:
export PS1="\[33[36m\][\t]\[33[32;1m\]\u\[33[32;1m\]@\h:\[33[32;1m\][\w]:\[33[0m\] "


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: