config/shell: adjust xdg paths
This commit is contained in:
parent
21b27b8f6e
commit
d2cb20a8b7
|
@ -13,7 +13,7 @@ fi 2>/dev/null || return 0
|
|||
# source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
#fi
|
||||
|
||||
export PATH=$HOME/.local/bin/scripts:$HOME/.local/bin:$PATH:/opt/android-sdk/platform-tools:$XDG_CONFIG_HOME/emacs/bin:$XDG_DATA_HOME/gem/ruby/2.7.0/bin
|
||||
export PATH=$HOME/.local/bin/scripts:$HOME/.local/bin:$PATH:/opt/android-sdk/platform-tools:$XDG_CONFIG_HOME/emacs/bin
|
||||
|
||||
export CONFIG_ZSH="$XDG_CONFIG_HOME/zsh"
|
||||
export CONFIG_SHELLS="$XDG_CONFIG_HOME/shell"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# Use grep and sed to replace $1 with $2 recursively and print what is done
|
||||
grep --null --recursive --files-with-matches "$1" |
|
||||
grep --null --recursive --files-with-matches --binary-files=without-match "$1" |
|
||||
xargs -0 sed -i "/${1}/{
|
||||
s//${2}/g
|
||||
w /dev/stdout
|
||||
|
|
|
@ -4,13 +4,17 @@ export XDG_DATA_HOME="$HOME/.local/share"
|
|||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
# adjust programs to use xdg
|
||||
export KDEHOME="$XDG_DATA_HOME"/kdehome
|
||||
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
||||
|
||||
export KDEHOME="$XDG_DATA_HOME"/kdehome
|
||||
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
|
||||
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
||||
export GOPATH="$XDG_DATA_HOME"/go
|
||||
|
||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||
export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap
|
||||
export RLWRAP_HOME="$XDG_CACHE_HOME"/rlwrap
|
||||
export CABAL_CONFIG="$XDG_CONFIG_HOME"/cabal/config
|
||||
export CABAL_DIR="$XDG_CACHE_HOME"/cabal
|
||||
# Java & Android
|
||||
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java"
|
||||
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
|
||||
|
|
Loading…
Reference in New Issue