From: PHO Date: Mon, 5 Jan 2009 08:37:55 +0000 (+0900) Subject: Auto commit by The Sugar System. X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=5641038a48121c118e0632132af50e268ef268c9;p=sugar.git Auto commit by The Sugar System. --- diff --git a/dot-files/_nethackrc b/dot-files/_nethackrc index dcd742b..51bf673 100644 --- a/dot-files/_nethackrc +++ b/dot-files/_nethackrc @@ -2,7 +2,7 @@ OPTIONS=autodig OPTIONS=!cmdassist OPTIONS=color OPTIONS=DECgraphics -OPTIONS=extmenu +#OPTIONS=extmenu OPTIONS=fruit:mango OPTIONS=gender:female OPTIONS=hilite_pet diff --git a/dot-files/_zshrc b/dot-files/_zshrc index 6d8cf63..25a5ee6 100644 --- a/dot-files/_zshrc +++ b/dot-files/_zshrc @@ -22,6 +22,9 @@ if [ -f "$HOME/.ssh/known_hosts" ]; then _cache_hosts=(`perl -ne 'if (/^([a-zA-Z0-9.-]+)/) { print "$1\n";}' ~/.ssh/known_hosts`) fi +autoload -U colors +colors + setopt no_beep setopt auto_cd setopt auto_list @@ -49,8 +52,9 @@ setopt hist_ignore_space setopt inc_append_history setopt share_history -PROMPT=$'%{\ek\e\\%}%B[%n@%m] %#%b ' -RPROMPT='%U%?%u %U%D{%m/%d}%u %U%D{%T}%u %U%~%u' +PROMPT=$'%{\ek\e\\%}%{%(?.$fg[green].$fg[red])%}%B[%n@%m] %#%b %{$reset_color%}' +RPROMPT='%U%D{%m/%d}%u %U%D{%T}%u %U%~%u' + HISTFILE="$HOME/.zhistory" HISTSIZE=6000000 SAVEHIST=6000000 @@ -62,10 +66,10 @@ alias -g T="| tail" alias ..='cd ..' alias cd..='cd ..' -alias ls='ls -wF' -alias la='ls -wa' -alias l='ls -wl' -alias lls='ls -wla' +alias ls='ls -F' +alias la='ls -a' +alias l='ls -l' +alias lls='ls -la' alias p='pushd' alias o='popd' alias d='dirs'