2022-04-03 22:46:00 +02:00
|
|
|
# ~/.zshenv
|
|
|
|
|
2022-05-02 23:43:39 +02:00
|
|
|
export GOPATH="$HOME/utils/go"
|
|
|
|
export GOBIN="$GOPATH/bin"
|
|
|
|
|
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
|
|
|
|
|
|
|
|
export CCACHE_DISABLE="true"
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
add_to_path() {
|
|
|
|
local p=$1
|
|
|
|
if [[ ! "$PATH" == *"$p"* ]]; then
|
|
|
|
export PATH="$p:$PATH"
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
add_to_path "/usr/lib64/ccache"
|
|
|
|
add_to_path "$ANDROID_SDK_ROOT/platform-tools"
|
|
|
|
add_to_path "$ANDROID_SDK_ROOT/tools"
|
|
|
|
add_to_path "$HOME/.local/share/JetBrains/Toolbox/bin"
|
|
|
|
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"
|