ZGEN_SOURCE => ZGEN_DIR
This commit is contained in:
parent
bd772ca834
commit
476111f759
|
@ -3,7 +3,7 @@ source $(cd ${${(%):-%x}:A:h}/../.. && pwd -P)/env
|
||||||
|
|
||||||
# Move ZDOTDIR from $HOME to reduce dotfile pollution.
|
# Move ZDOTDIR from $HOME to reduce dotfile pollution.
|
||||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||||
export ZGEN_SOURCE="$XDG_CACHE_HOME/zgen"
|
export ZGEN_DIR="$XDG_CACHE_HOME/zgen"
|
||||||
|
|
||||||
# paths
|
# paths
|
||||||
typeset -gU cdpath fpath mailpath path
|
typeset -gU cdpath fpath mailpath path
|
||||||
|
@ -11,6 +11,7 @@ path=( $XDG_BIN_HOME $DOTFILES/bin $DOTFILES_DATA/*.topic/bin(N) $path )
|
||||||
fpath=( $ZDOTDIR/functions $fpath )
|
fpath=( $ZDOTDIR/functions $fpath )
|
||||||
|
|
||||||
# envvars
|
# envvars
|
||||||
|
export SHELL=$(command -v zsh)
|
||||||
export LANG=${LANG:-en_US.UTF-8}
|
export LANG=${LANG:-en_US.UTF-8}
|
||||||
export PAGER=less
|
export PAGER=less
|
||||||
export LESS='-R -i -w -M -z-4'
|
export LESS='-R -i -w -M -z-4'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
export ZGEN_AUTOLOAD_COMPINIT=0
|
export ZGEN_AUTOLOAD_COMPINIT=0
|
||||||
AUTOPAIR_INHIBIT_INIT=1
|
AUTOPAIR_INHIBIT_INIT=1
|
||||||
|
|
||||||
_load_repo tarjoilija/zgen $ZGEN_SOURCE zgen.zsh
|
_load_repo tarjoilija/zgen $ZGEN_DIR zgen.zsh
|
||||||
if ! zgen saved; then
|
if ! zgen saved; then
|
||||||
echo "Creating zgen save"
|
echo "Creating zgen save"
|
||||||
_cache_clear
|
_cache_clear
|
||||||
|
|
Loading…
Reference in a new issue