summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2008-12-12 16:45:08 +0100
committerFlorian Pritz <f-p@gmx.at>2008-12-12 16:45:08 +0100
commit0a875abacc5c875956c5b5d8a0e6ec8cbf740ab7 (patch)
tree19fc9f2e643553f334084a65afac61f49861e41f /.zshrc
parentc5b77ce6bb0905a47757499900441e07e9cbca70 (diff)
downloaddotfiles-0a875abacc5c875956c5b5d8a0e6ec8cbf740ab7.tar.gz
dotfiles-0a875abacc5c875956c5b5d8a0e6ec8cbf740ab7.tar.xz
added colors to fiel completion
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc
index a416b79..d657943 100644
--- a/.zshrc
+++ b/.zshrc
@@ -22,6 +22,8 @@ bindkey '\e[2~' overwrite-mode
bindkey "^[[7~" beginning-of-line # Pos1
bindkey "^[[8~" end-of-line # End
+eval "`dircolors -b`"
+
#--------------------
# Completion stuff
#--------------------
@@ -33,7 +35,7 @@ zstyle :compinstall filename '$HOME/.zshrc'
# cache results because yaourt is slow
zstyle ':completion:*' use-cache on
zstyle ':completion:*' cache-path $HOME/.zsh/cache
-
+zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' completer _complete _match _approximate _7slash
zstyle ':completion:*:match:*' original only
@@ -77,6 +79,7 @@ setopt APPEND_HISTORY
setopt EXTENDED_HISTORY
setopt HIST_REDUCE_BLANKS
setopt HIST_IGNORE_SPACE
+
#-----------------------
# Variables
#-----------------------
@@ -162,7 +165,6 @@ alias du='du -kh'
alias dus='du -skh'
alias df='df -kTh'
-eval "`dircolors -b`"
alias ls='ls -lhbtF --color=auto'
alias ll='ls -lhbtF --color=auto'
alias la='ls -lahbtF --color=auto'