I missed you Arch Linux

This commit is contained in:
Josh Sherman 2023-07-07 18:51:29 -05:00
parent dce619ff59
commit 68955cea7c
No known key found for this signature in database
GPG key ID: 55B058A80530EF22
2 changed files with 14 additions and 0 deletions

View file

@ -26,6 +26,13 @@ elif command -v apt &> /dev/null; then
source /usr/share/zsh-history-substring-search/zsh-history-substring-search.zsh
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
elif command -v pacman &> /dev/null; then
# Arch
source /usr/share/fzf/completion.zsh
source /usr/share/fzf/key-bindings.zsh
source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi
# If you receive "highlighters directory not found" error message, │
@ -93,6 +100,12 @@ elif command -v apt &> /dev/null; then
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
elif command -v pacman &> /dev/null; then
# Arch
[ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.nvm"
source /usr/share/nvm/nvm.sh
source /usr/share/nvm/bash_completion
source /usr/share/nvm/install-nvm-exec
fi
# Automatically use Node.js version specified in .nvmrc