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 source $filename
done done
CASE_SENSITIVE="true" alias srczsh="source ~/.zshrc"
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

View File

@ -1,5 +1,10 @@
# fixme - the load process here seems a bit bizarre # 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 menu_complete # do not autoselect the first completion entry
unsetopt flowcontrol unsetopt flowcontrol
setopt auto_menu # show completion menu on succesive tab press 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 # Fix weird sequence that rxvt produces
bindkey -s '^[[Z' '\t' 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