diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2011-03-17 13:54:24 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2011-03-17 13:54:24 +0100 |
commit | cb9ce1bbd82c13597c8c66d00a099554bac117e4 (patch) | |
tree | cb9aa21d9e69d7931c7f3b56eab653d28b8bb72e /.zsh/zshrc/00_opts | |
parent | 8c39c7b3853710f15d65c2bcfcfcb146d1bf78a6 (diff) |
Update from grml's zsh setup
Diffstat (limited to '.zsh/zshrc/00_opts')
-rw-r--r-- | .zsh/zshrc/00_opts | 42 |
1 files changed, 36 insertions, 6 deletions
diff --git a/.zsh/zshrc/00_opts b/.zsh/zshrc/00_opts index 9d4dc14..6d23897 100644 --- a/.zsh/zshrc/00_opts +++ b/.zsh/zshrc/00_opts @@ -7,13 +7,43 @@ # # Source repository: git://git.distanz.ch/dotfiles/zsh.git -# if a command is issued that can't be executed as a normal command, and the -# command is the name of a directory, perform the cd command to that directory -setopt auto_cd +setopt prompt_subst -# Silence! -setopt nobeep +# +# the follwing options were taken from grml zshrc +# -setopt prompt_subst +setopt append_history # append history list to the history file + # (important for multiple parallel zsh sessions!) +setopt SHARE_HISTORY # import new commands from the history file also in + # other zsh-session +setopt extended_history # save each command's beginning timestamp and the + # duration to the history file +setopt histignorealldups # If a new command line being added to the + # history list duplicates an older one, the older + # command is removed from the list +setopt histignorespace # remove command lines from the history list when + # the first character on the line is a space +setopt auto_cd # if a command is issued that can't be executed as + # a normal command, and the command is the name of + # a directory, perform the cd command to that + # directory +setopt extended_glob # in order to use #, ~ and ^ for filename generation + # grep word *~(*.gz|*.bz|*.bz2|*.zip|*.Z) -> + # -> searches for word not in compressed files + # don't forget to quote '^', '~' and '#'! +setopt longlistjobs # display PID when suspending processes as well +setopt notify # report the status of backgrounds jobs immediately +setopt hash_list_all # Whenever a command completion is attempted, make sure + # the entire command path is hashed first. +setopt completeinword # not just at the end +setopt nohup # and don't kill them, either +setopt auto_pushd # make cd push the old directory onto the directory stack. +setopt nonomatch # try to avoid the 'zsh: no matches found...' +setopt nobeep # avoid "beep"ing +setopt pushd_ignore_dups # don't push the same dir twice. +setopt noglobdots # * shouldn't match dotfiles. ever. +setopt noshwordsplit # use zsh style word splitting +setopt unset # don't error out when unset parameters are used # vim:ft=zsh |