add srczsh alias, move stuff out of zsh.sh
This commit is contained in:
parent
22d1a5f3a5
commit
f770ae6c7b
@ -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
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user