mirror of
https://github.com/nikdoof/dotfiles.git
synced 2026-01-30 02:48:15 +00:00
[shell-common] Add XDG config
This commit is contained in:
@@ -27,11 +27,11 @@ for editor in "${editor_preferences[@]}"; do
|
||||
done
|
||||
|
||||
# Go stuff
|
||||
export GOPATH=$HOME/go/
|
||||
export GOPATH=$XDG_DATA_HOME/go/
|
||||
export PATH=${GOPATH}bin:$PATH
|
||||
if [ -z ${GOROOT+x} ] && [ -d /usr/local/go ]; then
|
||||
export GOROOT=/usr/local/go/
|
||||
export PATH=$PATH:$GOROOT/bin:$HOME/go/bin
|
||||
export PATH=$PATH:$GOROOT/bin
|
||||
fi
|
||||
|
||||
# Python stuff
|
||||
|
||||
5
shell-common/.config/shell-common/02_xdg_overrides.sh
Normal file
5
shell-common/.config/shell-common/02_xdg_overrides.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
# Override application locations to fix XDG
|
||||
export ANSIBLE_HOME="$XDG_DATA_HOME"/ansible
|
||||
export LESSHISTFILE="$XDG_STATE_HOME"/less/history
|
||||
export TLDR_CACHE_DIR="$XDG_CACHE_HOME"/tldr
|
||||
export SONARLINT_USER_HOME="$XDG_DATA_HOME/sonarlint"
|
||||
Reference in New Issue
Block a user