shell/zsh: read ZSH_CACHE var; fix fasd completion widgets
This commit is contained in:
parent
9e2c119c40
commit
42d858ca7a
|
@ -4,6 +4,7 @@ source $(cd ${${(%):-%x}:A:h}/../.. && pwd -P)/env
|
|||
# Move ZDOTDIR from $HOME to reduce dotfile pollution.
|
||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||
export ZGEN_DIR="$XDG_CACHE_HOME/zgen"
|
||||
export ZSH_CACHE="$XDG_CACHE_HOME/zsh"
|
||||
|
||||
# paths
|
||||
typeset -gU cdpath fpath mailpath path
|
||||
|
|
|
@ -19,11 +19,14 @@ if ! zgen saved; then
|
|||
zgen save
|
||||
fi
|
||||
|
||||
|
||||
_load shell/zsh/prompt.zsh
|
||||
_load shell/zsh/config.zsh
|
||||
_load shell/zsh/completion.zsh
|
||||
_load shell/zsh/keybinds.zsh
|
||||
_load shell/zsh/prompt.zsh
|
||||
|
||||
#
|
||||
autoload -Uz compinit && compinit -d $ZSH_CACHE/zcompdump
|
||||
_load_all aliases.zsh
|
||||
|
||||
#
|
||||
export _FASD_DATA="$XDG_CACHE_HOME/fasd"
|
||||
|
@ -31,8 +34,4 @@ export _FASD_VIMINFO="$XDG_CACHE_HOME/viminfo"
|
|||
_cache fasd --init posix-alias zsh-{hook,{c,w}comp{,-install}}
|
||||
autopair-init
|
||||
|
||||
#
|
||||
autoload -Uz compinit && compinit -d $ZSH_CACHE/zcompdump
|
||||
_load_all aliases.zsh
|
||||
|
||||
# vim:set ft=sh:
|
||||
|
|
Loading…
Reference in a new issue