Mercurial
diff vim-setup/start.sh @ 151:c033667da5f9 hg-web
Merging latest merge into hg-web
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Sat, 10 Jan 2026 13:35:09 -0800 |
| parents | 76cd7afa6b8e |
| children |
line wrap: on
line diff
--- a/vim-setup/start.sh Fri Jan 09 18:39:34 2026 -0800 +++ b/vim-setup/start.sh Sat Jan 10 13:35:09 2026 -0800 @@ -50,7 +50,21 @@ " Neovim compatibility for Vim config set runtimepath^=~/.vim runtimepath+=~/.vim/after let &packpath = &runtimepath - EOF +# Being safe cat .vimrc >> ~/.config/nvim/init.vim + +if [[ "$(uname)" == "Darwin" ]]; then + echo "Assuming OS is mac" + echo "export FZF_DEFAULT_COMMAND='fd --type f --hidden --ignore-file .ignore'" >> ~/.zshrc + echo "export FZF_DEFAULT_OPTS='--bind \"ctrl-a:select-all,ctrl-d:deselect-all\"'" >> ~/.zshrc + echo "Re-run ~/.zshrc" +else + echo "Assuming OS is linux" + echo "export FZF_DEFAULT_COMMAND='fd --type f --hidden --ignore-file .ignore'" >> ~/.bashrc + echo "export FZF_DEFAULT_OPTS='--bind \"ctrl-a:select-all,ctrl-d:deselect-all\"'" >> ~/.bashrc + echo "Re-run ~/.bashrc" +fi + +