I missed you Arch Linux
This commit is contained in:
parent
dce619ff59
commit
68955cea7c
2 changed files with 14 additions and 0 deletions
13
zsh/.zshrc
13
zsh/.zshrc
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue