Adjust Krew installation dir

This commit is contained in:
dabruh 2023-09-15 13:41:56 +02:00
parent cf9771c572
commit e1a1c49770

View file

@ -14,6 +14,7 @@ export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo"
export KREW_ROOT="${XDG_DATA_HOME:-$HOME/.local/share}/krew"
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history"
export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc"
@ -90,7 +91,7 @@ append_path_with_entries() {
prepend_paths=(
"$HOME/.local/bin"
"$HOME/.cargo/bin"
"${KREW_ROOT:-$HOME/.krew}/bin"
"$KREW_ROOT/bin"
)
append_paths=()