a better way to tell bash from zsh
This commit is contained in:
parent
f5044bdda8
commit
8ffaf95b9d
1 changed files with 2 additions and 2 deletions
4
bashrc
4
bashrc
|
@ -27,9 +27,9 @@ prompt_command()
|
|||
(*) printf '\033]0;%s\007' "${HOSTNAME%%.*}";;
|
||||
esac
|
||||
((UID)) && clr=8 || clr=1
|
||||
echo "[ bash-$BASH_VERSINFO | $(colorize "$clr" $USER) $HOSTNAME:$(colorize 8 "$(pwd)") ]"
|
||||
echo "[ $(colorize "$clr" $USER) $HOSTNAME:$(colorize 8 "$(pwd)") ]"
|
||||
}
|
||||
PS1='> '
|
||||
PS1='\$ '
|
||||
PROMPT_COMMAND=prompt_command
|
||||
# }}}
|
||||
# {{{ aliases
|
||||
|
|
Loading…
Reference in a new issue