Compare commits

...

5 Commits

Author SHA1 Message Date
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
3 changed files with 3 additions and 6 deletions

View File

@ -14,7 +14,3 @@ refreshPeriod = "168h"
type = "git-repo"
url = "https://github.com/Piraty/xxtools.git"
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_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
export TERMINFO_DIRS="$TERMINFO_DIRS:/usr/share/terminfo"
# runit
export SVDIR="$XDG_STATE_HOME"/service

View File

@ -117,6 +117,8 @@ for plugin in zsh-syntax-highlighting zsh-history-substring-search zsh-autosugge
possible_locations=(
# Standard location
"/usr/share/zsh/plugins/$plugin/$plugin.zsh"
# Nix
"/nix/var/nix/profiles/default/share/$plugin/$plugin.zsh"
# Direct in /usr/share
"/usr/share/$plugin/$plugin.zsh"
# 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"
# Homebrew location (for macOS users)
"/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
for location in "${possible_locations[@]}"; do