add srczsh alias, move stuff out of zsh.sh

This commit is contained in:
Ivan Malison 2014-04-17 00:18:19 -07:00
parent 22d1a5f3a5
commit f770ae6c7b
3 changed files with 12 additions and 9 deletions

View File

@ -2,12 +2,4 @@ for filename in ~/.lib/zsh/*; do
source $filename
done
CASE_SENSITIVE="true"
fpath=(~/.lib/completions $fpath)
autoload -U compinit
compinit
# Allow command line editing.
autoload -U edit-command-line
zle -N edit-command-line
bindkey '\C-x\C-e' edit-command-line
setopt PROMPT_SUBST
alias srczsh="source ~/.zshrc"

View File

@ -1,5 +1,10 @@
# fixme - the load process here seems a bit bizarre
CASE_SENSITIVE="true"
fpath=(~/.lib/completions $fpath)
autoload -U compinit
compinit
unsetopt menu_complete # do not autoselect the first completion entry
unsetopt flowcontrol
setopt auto_menu # show completion menu on succesive tab press

View File

@ -44,3 +44,9 @@ bindkey '^I' complete-word
# Fix weird sequence that rxvt produces
bindkey -s '^[[Z' '\t'
# Allow command line editing.
autoload -U edit-command-line
zle -N edit-command-line
bindkey '\C-x\C-e' edit-command-line
setopt PROMPT_SUBST