2022-04-03 22:46:00 +02:00
|
|
|
# ~/.zshenv
|
|
|
|
|
2022-08-28 21:39:22 +02:00
|
|
|
export GOPATH="$HOME/go"
|
2022-05-02 23:43:39 +02:00
|
|
|
export GOBIN="$GOPATH/bin"
|
|
|
|
|
2023-06-06 16:11:22 +02:00
|
|
|
# prerequisite: install gke-gcloud-auth-plugin
|
|
|
|
# ref: https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
|
|
|
|
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
|
|
|
|
|
2022-04-03 22:46:00 +02:00
|
|
|
export ANDROID_SDK_ROOT="$HOME/utils/Android/Sdk"
|
|
|
|
export ANDROID_SDK_PATH=$ANDROID_SDK_ROOT
|
|
|
|
export ANDROID_NDK_PATH=$ANDROID_SDK_ROOT/ndk-bundle
|
|
|
|
export ANDROID_NDK_HOME=$ANDROID_NDK_PATH
|
|
|
|
export AndroidSdkPath=$ANDROID_SDK_ROOT
|
|
|
|
export AndroidNdkPath=$ANDROID_NDK_PATH
|
|
|
|
|
2022-09-07 21:59:34 +02:00
|
|
|
export CCACHE_NODISABLE="true"
|
2022-04-03 22:46:00 +02:00
|
|
|
|
2022-08-29 00:30:29 +02:00
|
|
|
# https://github.com/NixOS/nix/issues/2033
|
|
|
|
# https://discourse.nixos.org/t/where-is-nix-path-supposed-to-be-set/16434/8
|
2023-06-06 16:10:00 +02:00
|
|
|
export NIX_PATH=$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/$USER/channels${NIX_PATH:+:$NIX_PATH}
|
2022-08-29 00:30:29 +02:00
|
|
|
|
2022-05-02 23:45:36 +02:00
|
|
|
[ -z "$IN_NIX_SHELL" ] && export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
|
2022-04-03 22:46:00 +02:00
|
|
|
|
2023-06-06 16:10:54 +02:00
|
|
|
export PYTHONPATH="$HOME/.nix-profile/lib/python3.11/site-packages"
|
|
|
|
export BEMENU_OPTS="--tb '#6272a4' --tf '#f8f8f2' --fb '#282a36' --ff '#f8f8f2'
|
|
|
|
--nb '#282a36' --nf '#6272a4' --hb '#44475a' --hf '#50fa7b' --sb '#44475a'
|
|
|
|
--sf '#50fa7b' --scb '#282a36' --scf '#ff79c6' -n -p '⇒' --fork -l 5
|
|
|
|
--fn 'Fira Code Retina 17'"
|
2022-04-03 22:46:00 +02:00
|
|
|
|
|
|
|
add_to_path() {
|
|
|
|
local p=$1
|
|
|
|
if [[ ! "$PATH" == *"$p"* ]]; then
|
|
|
|
export PATH="$p:$PATH"
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2023-05-05 13:31:58 +02:00
|
|
|
add_to_path "/usr/lib64/ccache/bin"
|
2022-04-03 22:46:00 +02:00
|
|
|
add_to_path "$ANDROID_SDK_ROOT/platform-tools"
|
2022-09-07 21:58:48 +02:00
|
|
|
add_to_path "$ANDROID_SDK_ROOT/cmdline-tools/latest/bin"
|
2022-04-03 22:46:00 +02:00
|
|
|
add_to_path "$ANDROID_SDK_ROOT/tools"
|
2022-09-07 21:58:48 +02:00
|
|
|
add_to_path "$ANDROID_SDK_ROOT/tools/bin"
|
2022-04-03 22:46:00 +02:00
|
|
|
add_to_path "$HOME/.local/share/JetBrains/Toolbox/bin"
|
2022-08-28 21:43:11 +02:00
|
|
|
add_to_path "$HOME/.npm-packages/bin"
|
2022-04-03 22:46:00 +02:00
|
|
|
add_to_path "/var/lib/flatpak/exports/bin"
|
|
|
|
add_to_path "$HOME/.local/share/flatpak/exports/bin"
|
|
|
|
add_to_path "/opt/metasploit-framework/bin"
|
|
|
|
add_to_path "$HOME/.cargo/bin"
|
|
|
|
add_to_path "$GOPATH/bin"
|
|
|
|
add_to_path "$HOME/.arkade/bin"
|
|
|
|
add_to_path "$HOME/.asdf/bin"
|
|
|
|
add_to_path "$HOME/.asdf/shims"
|
|
|
|
add_to_path "$HOME/.local/bin"
|
|
|
|
add_to_path "$HOME/utils/bin"
|