Clean up modules and loading

This commit is contained in:
crater2150 2019-02-11 15:36:37 +01:00
parent 4af5440511
commit 6c3826e32d
11 changed files with 57 additions and 174 deletions

21
zshrc
View file

@ -25,8 +25,10 @@ zdotfile() {
fi
}
. $(zdotfile completion.zsh)
source $(zdotfile zplug.zsh)
bindkey -v
autoload -Uz zmv
function exists { command -v "$@" >/dev/null }
ZMODLOAD_BLACKLIST=( ssh-agent )
@ -43,23 +45,6 @@ echo $PATH | grep -q 'local' || . /etc/zsh/zprofile
echo $PATH | grep -q 'sbin' || . /etc/zsh/zprofile
typeset -A conf_locations
conf_locations=(
vim $XDG_CONFIG_HOME/vim
awesome $XDG_CONFIG_HOME/awesome
mutt $HOME/.mutt/muttrc
xd $XDG_CONFIG_HOME/xd.conf
zsh /etc/zsh
offlineimap $XDG_CONFIG_HOME/offlineimap/config
compose $HOME/.XCompose.long
vdirsyncer $HOME/.vdirsyncer/config
xd $XDG_CONFIG_HOME/xd.conf
ssh $HOME/.ssh/config
)
. $(zdotfile completion.zsh)
FZF_ALT_C_COMMAND="fd -t d"
[[ -e /usr/share/doc/fzf/key-bindings.zsh ]] && . /usr/share/doc/fzf/key-bindings.zsh