cleanup and fixes for config in home dir
This commit is contained in:
parent
57fa0afede
commit
6023ed42bf
13 changed files with 66 additions and 344 deletions
8
zshrc
8
zshrc
|
@ -12,8 +12,8 @@ setopt short_loops
|
|||
setopt cdable_vars
|
||||
|
||||
# autoload completions
|
||||
fpath+=( "${zcpath:-/etc/zsh}/compdef" )
|
||||
autoload -U ${zcpath:-/etc/zsh}/compdef/*(:t)
|
||||
fpath+=( "${ZDOTDIR:-/etc/zsh}/compdef" )
|
||||
autoload -U ${ZDOTDIR:-/etc/zsh}/compdef/*(:t)
|
||||
|
||||
bindkey -v
|
||||
|
||||
|
@ -22,13 +22,13 @@ autoload -Uz zmv
|
|||
|
||||
zmodload zsh/zftp
|
||||
|
||||
for i in ${zcpath:-/etc/zsh}/aliases/*~${zcpath:-/etc/zsh}/aliases/*.zwc; do
|
||||
for i in ${ZDOTDIR:-/etc/zsh}/aliases/*~${ZDOTDIR:-/etc/zsh}/aliases/*.zwc; do
|
||||
. $i
|
||||
done
|
||||
|
||||
stty -ixon
|
||||
|
||||
. ${zcpath:-/etc/zsh}/modules/loader.zsh && mod_init
|
||||
. ${ZDOTDIR:-/etc/zsh}/modules/loader.zsh && mod_init
|
||||
|
||||
echo $PATH | grep -q 'local' || . /etc/zsh/zprofile
|
||||
echo $PATH | grep -q 'sbin' || . /etc/zsh/zprofile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue