Move all non-standard paths for apps to one file.

This commit is contained in:
Bartek Stalewski 2022-04-25 14:07:46 +02:00
parent 267b3eb878
commit c60a4e243f
2 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,6 @@ setopt SHARE_HISTORY
export PATH=~/.local/bin:$PATH
export EDITOR=vim
export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC'
export LESSHISTFILE='/dev/null'
tabs 2
mkdir -p $XDG_DATA_HOME/zsh
@ -22,6 +21,7 @@ zstyle ':completion:*' list-colors ''
source $ZDOTDIR/aliases.zsh
source $ZDOTDIR/keys.zsh
source $ZDOTDIR/ssh.zsh
source $ZDOTDIR/cleanhome.zsh
# modules
[ -f $XDG_CONFIG_HOME/fzf/fzf.zsh ] && source $ZDOTDIR/fzf.zsh

4
zsh/cleanhome.zsh Normal file
View File

@ -0,0 +1,4 @@
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export XAUTHORITY="$XDG_CACHE_HOME/Xauthority"
export LESSHISTFILE='/dev/null'
export PASSWORD_STORE_DIR=$XDG_DATA_HOME/repos/pass