diff options
author | Florian Pritz <f-p@gmx.at> | 2008-12-11 20:55:23 +0100 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2008-12-11 20:55:23 +0100 |
commit | 5f7c6c98653f76d0e221844fac7b6823554cf9d8 (patch) | |
tree | 32de302a1af8b6db5d2f3aecfd5706c49727beb4 | |
parent | b1f51ce70c310b97024481ba485eab3d509dc655 (diff) | |
download | dotfiles-5f7c6c98653f76d0e221844fac7b6823554cf9d8.tar.gz dotfiles-5f7c6c98653f76d0e221844fac7b6823554cf9d8.tar.xz |
added some stuff
-rw-r--r-- | .zshrc | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -1,15 +1,15 @@ #----------------------------------------------------# # File: ~/.zshrc # -# Version: 0.3.4 # +# Version: 0.3.5 # # Author: Florian "Bluewind" Pritz <f-p@gmx.at> # #----------------------------------------------------# #-------------------- # History #-------------------- -HISTFILE=~/.zsh/histfile -HISTSIZE=10000 -SAVEHIST=10000 +export HISTFILE=~/.zsh/histfile +export HISTSIZE=10000 +export SAVEHIST=10000 #-------------------- # Keybindings @@ -34,7 +34,7 @@ zstyle :compinstall filename '$HOME/.zshrc' zstyle ':completion:*' use-cache on zstyle ':completion:*' cache-path $HOME/.zsh/cache -zstyle ':completion:*' completer _complete _match _approximate _7slash +zstyle ':completion:*' completer _complete _match _approximate _7slash zstyle ':completion:*:match:*' original only # allow more mistypes if longer command @@ -75,7 +75,8 @@ setopt SHARE_HISTORY setopt NO_clobber setopt APPEND_HISTORY setopt EXTENDED_HISTORY - +setopt HIST_REDUCE_BLANKS +setopt HIST_IGNORE_SPACE #----------------------- # Variables #----------------------- @@ -161,9 +162,10 @@ alias du='du -kh' alias dus='du -skh' alias df='df -kTh' -alias ls='ls -l --color=auto -h -b -t -F' -alias ll='ls -l --color=auto -h -b -t -F' -alias la='ls -la --color=auto -h -b -t -F' +eval "`dircolors -b`" +alias ls='ls -CFhsX --color=auto' +alias ll='ls -lhbtF --color=auto' +alias la='ls -lahbtF --color=auto' alias newpkgb=' cp $HOME/misc/aur/PKGBUILD.proto PKGBUILD' alias aurball='makepkg --source -f' @@ -282,7 +284,7 @@ hglob() { echo /proc/*/cwd(:h:t:s/self//) # Analog zu >ps ax | awk '{print $1}'<" } -2html() { vim -u NONE -n -c ':syntax on' -c ':so $VIMRUNTIME/syntax/2html.vim' -c ':wqa' $1 > /dev/null 2> /dev/null } +2html() { vim -n -c ':syntax on' -c ':so $VIMRUNTIME/syntax/2html.vim' -c ':wqa' $1 > /dev/null 2> /dev/null } yd (){ mkdir $1 @@ -431,7 +433,7 @@ youtube2mp3 () { #-------------------- # Greetings #-------------------- -echo -e "${CYAN}Welcome to ZSH ${RED}${ZSH_VERSION%.*}$NC" +echo -e "${CYAN}Welcome to ZSH ${RED}${ZSH_VERSION}$NC" short_ii if [ -x /usr/bin/fortune ]; then /usr/bin/fortune -s |