Compare commits

..

8 Commits

Author SHA1 Message Date
Joel Beckmeyer
8adb11049d add Android SDK platform-tools to PATH 2025-05-02 10:00:06 -04:00
Joel Beckmeyer
e5ae14bb1c Merge branch 'master' of ssh://git.beckmeyer.us:8101/TnSb/dotfiles 2025-04-22 16:32:07 +00:00
Joel Beckmeyer
0815537beb set TERMINFO_DIRS 2025-04-22 12:22:21 -04:00
Joel Beckmeyer
027eba011c remove zsh plugin fetch in favor of nix 2025-04-22 12:22:19 -04:00
006cc70889 update ignore 2025-04-22 12:22:19 -04:00
16cc781e60 fallback to regular SSH password prompt 2025-04-22 12:22:19 -04:00
Joel Beckmeyer
9e8ac7bce4 Merge branch 'master' of ssh://git.beckmeyer.us:8101/TnSb/dotfiles 2025-04-22 13:20:56 +00:00
Joel Beckmeyer
24c5277498 add ANDROID_STUDIO envvar pointing to flatpak install 2025-04-22 13:20:51 +00:00
3 changed files with 5 additions and 7 deletions

View File

@@ -14,7 +14,3 @@ refreshPeriod = "168h"
type = "git-repo" type = "git-repo"
url = "https://github.com/Piraty/xxtools.git" url = "https://github.com/Piraty/xxtools.git"
refreshPeriod = "168h" refreshPeriod = "168h"
[".local/share/zsh-history-substring-search"]
type = "archive"
url = "https://github.com/zsh-users/zsh-history-substring-search/archive/refs/tags/v1.1.0.tar.gz"

View File

@@ -9,6 +9,7 @@ export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}" export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}" export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
export TERMINFO_DIRS="$TERMINFO_DIRS:/usr/share/terminfo"
# runit # runit
export SVDIR="$XDG_STATE_HOME"/service export SVDIR="$XDG_STATE_HOME"/service
@@ -40,7 +41,7 @@ export NPM_CONFIG_INIT_MODULE="$XDG_CONFIG_HOME"/npm/config/npm-init.js
export NPM_CONFIG_TMP="$XDG_RUNTIME_DIR"/npm export NPM_CONFIG_TMP="$XDG_RUNTIME_DIR"/npm
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
export PATH="$HOME/.local/bin:$PATH:$XDG_DATA_HOME/xxtools:$XDG_DATA_HOME/flutter/bin" export PATH="$HOME/.local/bin:$PATH:$XDG_DATA_HOME/xxtools:$XDG_DATA_HOME/flutter/bin:$ANDROID_HOME/platform-tools"
export PYTHON_HISTORY="$XDG_STATE_HOME"/python_history export PYTHON_HISTORY="$XDG_STATE_HOME"/python_history
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
export SQLITE_HISTORY="$XDG_CACHE_HOME"/sqlite_history export SQLITE_HISTORY="$XDG_CACHE_HOME"/sqlite_history
@@ -59,3 +60,4 @@ export XBPS_DISTDIR="$HOME"/repos/void-packages
# Android build stuff # Android build stuff
export USE_CCACHE=1 export USE_CCACHE=1
export CCACHE_EXEC=/usr/bin/ccache export CCACHE_EXEC=/usr/bin/ccache
export ANDROID_STUDIO="$XDG_DATA_HOME"/flatpak/app/com.google.AndroidStudio/current/active/files/extra/android-studio

View File

@@ -117,6 +117,8 @@ for plugin in zsh-syntax-highlighting zsh-history-substring-search zsh-autosugge
possible_locations=( possible_locations=(
# Standard location # Standard location
"/usr/share/zsh/plugins/$plugin/$plugin.zsh" "/usr/share/zsh/plugins/$plugin/$plugin.zsh"
# Nix
"/nix/var/nix/profiles/default/share/$plugin/$plugin.zsh"
# Direct in /usr/share # Direct in /usr/share
"/usr/share/$plugin/$plugin.zsh" "/usr/share/$plugin/$plugin.zsh"
# Home directory locations # Home directory locations
@@ -127,8 +129,6 @@ for plugin in zsh-syntax-highlighting zsh-history-substring-search zsh-autosugge
"$HOME/.oh-my-zsh/custom/plugins/$plugin/$plugin.zsh" "$HOME/.oh-my-zsh/custom/plugins/$plugin/$plugin.zsh"
# Homebrew location (for macOS users) # Homebrew location (for macOS users)
"/usr/local/share/$plugin/$plugin.zsh" "/usr/local/share/$plugin/$plugin.zsh"
# Specific path for history-substring-search with version number
"$HOME/.local/share/zsh-history-substring-search/zsh-history-substring-search-*/zsh-history-substring-search.zsh"
) )
# Try each location until we find one that exists # Try each location until we find one that exists
for location in "${possible_locations[@]}"; do for location in "${possible_locations[@]}"; do