diff --git a/vim/.vimrc b/vim/.vimrc index 680f7c4..6a6c562 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -44,7 +44,6 @@ autocmd FileType markdown,text setl tw=80 wm=2 autocmd BufWritePre * :%s/\s\+$//e " TODO: Make this configurable to handle multiple OSes -" Arch Linux: set rtp+=~/.fzf " Thought this was Debian: set rtp+=/usr/local/opt/fzf " This is Debian: source /usr/share/doc/fzf/examples/fzf.vim " This works for Debian too: diff --git a/zsh/.zshrc b/zsh/.zshrc index 31e1074..1a0ad23 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -26,13 +26,6 @@ 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, │ @@ -100,11 +93,6 @@ 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 - export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] \ - && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" - [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" fi # Automatically use Node.js version specified in .nvmrc