X-Git-Url: https://git.draconx.ca/gitweb/zshconf.git/blobdiff_plain/a20bf3cac3774b4cb8126a9750e2c4c5d254427e..088cc7568de3e522231b36fd4dd03decce14f936:/zshrc diff --git a/zshrc b/zshrc index b015d5b..f1a3191 100644 --- a/zshrc +++ b/zshrc @@ -59,19 +59,22 @@ preexec() { __NEWRUN=yes } -if [ -n "$COLORTERM" ]; then - PS1=$'%(!,%{\e[31;1m%},%{\e[32;1m%}%n@)%m%{\e[34;1m%} %33<...<%~%<< %#%{\e[0m%} ' +# A gentoo-like prompt. +PS1=$'%B%(!,%F{red},%F{green}%n@)%m %F{blue}%33<...<%~%<< %#%f%b ' +if [ -n "$COLORTERM" ]; then # Random colour-related options export MINICOM="-c on" -else - PS1='%n@%m %33<...<%~%<< %# ' fi if [[ -n "$SSH_CONNECTION" ]]; then - PS1="${PS1/\[32/[33}" + PS1="${PS1/green/yellow}" fi +# Locale +export LANG=en_CA.UTF-8 +export LC_COLLATE=ja_JP.UTF-8 + # I like colours alias ls='ls --color=auto' alias grep='grep --color=auto'