diff options
Diffstat (limited to 'base/zshrc')
-rw-r--r-- | base/zshrc | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/base/zshrc b/base/zshrc new file mode 100644 index 0000000..ef40bc9 --- /dev/null +++ b/base/zshrc @@ -0,0 +1,51 @@ +# +# .zshrc is sourced in interactive shells. +# It should contain commands to set up aliases, +# functions, options, key bindings, etc. +# + +autoload -U compinit +compinit + +#allow tab completion in the middle of a word +setopt COMPLETE_IN_WORD + +## keep background processes at full speed +#setopt NOBGNICE +## restart running processes on exit +#setopt HUP + +## history +#setopt APPEND_HISTORY +## for sharing history between zsh processes +#setopt INC_APPEND_HISTORY +#setopt SHARE_HISTORY + +## never ever beep ever +#setopt NO_BEEP + +## automatically decide when to page a list of completions +#LISTMAX=0 + +## disable mail checking +#MAILCHECK=0 + +# autoload -U colors +colors + +# Fix keys +bindkey 'OH' beginning-of-line +bindkey '[1~' beginning-of-line +bindkey 'OF' end-of-line +bindkey '[4~' end-of-line +bindkey '[3~' delete-char + +zstyle ':completion:*' completer _complete _ignored _files + +source ~/.bash_aliases + +source ~/.shell_pathes + +source ~/.host-specific/zshrc +source ~/.host-specific/shell_pathes +source ~/.host-specific/bash_aliases |