mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
feat(config): relocate Go and Android SDK environment variables and update PATH entries, remove redundant font size settings
This commit is contained in:
1 parent
f3b4b96f68
commit
c568dd9a60
7 files changed
+43
-18
No files matched your search
@@ -14,6 +14,20 @@ case ":$PATH:" in *":$HOME/.local/bin:"*) ;; *) PATH="$HOME/.local/bin:$PATH" ;;
|
||||
[ -f "$HOME/.cargo/env" ] && . "$HOME/.cargo/env"
|
||||
[ -d "$HOME/.maestro/bin" ] && PATH="$PATH:$HOME/.maestro/bin"
|
||||
|
||||
# Go — GOPATH/GOBIN under ~/.local/share to keep $HOME clean.
|
||||
# GOROOT is provided by mise (toolchain lives under ~/.local/share/mise).
|
||||
export GOPATH="$HOME/.local/share/go"
|
||||
export GOBIN="$GOPATH/bin"
|
||||
case ":$PATH:" in *":$GOBIN:"*) ;; *) PATH="$GOBIN:$PATH" ;; esac
|
||||
|
||||
# Android SDK — relocated under ~/.local/share/android.
|
||||
export ANDROID_HOME="$HOME/.local/share/android"
|
||||
export ANDROID_SDK_ROOT="$ANDROID_HOME"
|
||||
for _adir in "$ANDROID_HOME/platform-tools" "$ANDROID_HOME/cmdline-tools/latest/bin" "$ANDROID_HOME/emulator"; do
|
||||
case ":$PATH:" in *":$_adir:"*) ;; *) [ -d "$_adir" ] && PATH="$PATH:$_adir" ;; esac
|
||||
done
|
||||
unset _adir
|
||||
|
||||
# Shared aliases (same set as fish/bash; source of truth: .chezmoidata/aliases.yaml)
|
||||
[ -f "$HOME/.config/shell/aliases.sh" ] && . "$HOME/.config/shell/aliases.sh"
|
||||
|
||||
|
||||
Reference in new issue
Block a user