remove zsh plugin fetch in favor of nix
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user