From c60a4e243f5159aabf86aa074fd2bde0c975b089 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Mon, 25 Apr 2022 14:07:46 +0200 Subject: [PATCH] Move all non-standard paths for apps to one file. --- zsh/.zshrc | 2 +- zsh/cleanhome.zsh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 zsh/cleanhome.zsh diff --git a/zsh/.zshrc b/zsh/.zshrc index 3d2450d..97f0d56 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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 diff --git a/zsh/cleanhome.zsh b/zsh/cleanhome.zsh new file mode 100644 index 0000000..49e2e40 --- /dev/null +++ b/zsh/cleanhome.zsh @@ -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