diff --git a/fd/ignore b/fd/ignore new file mode 100644 index 0000000..48b8bf9 --- /dev/null +++ b/fd/ignore @@ -0,0 +1 @@ +vendor/ diff --git a/fish/functions/rg.fish b/fish/functions/rg.fish new file mode 100644 index 0000000..47e8b84 --- /dev/null +++ b/fish/functions/rg.fish @@ -0,0 +1,3 @@ +function rg --wraps rg + command rg --ignore-file="$XDG_CONFIG_HOME/ripgrep/ignore" $argv +end diff --git a/install/install-symlinks.sh b/install/install-symlinks.sh index b6647c2..d73fc85 100755 --- a/install/install-symlinks.sh +++ b/install/install-symlinks.sh @@ -20,10 +20,12 @@ install_symlink() { ln -fnsv "$srcdir" "$dstdir" } +install_symlink "$ROOTDIR/fd" "$HOME/.config/fd" install_symlink "$ROOTDIR/fish" "$HOME/.config/fish" install_symlink "$ROOTDIR/git" "$HOME/.config/git" install_symlink "$ROOTDIR/helix" "$HOME/.config/helix" install_symlink "$ROOTDIR/nix" "$HOME/.config/nix" +install_symlink "$ROOTDIR/ripgrep" "$HOME/.config/ripgrep" install_symlink "$ROOTDIR/sbt" "$HOME/.config/sbt" echo diff --git a/ripgrep/ignore b/ripgrep/ignore new file mode 100644 index 0000000..48b8bf9 --- /dev/null +++ b/ripgrep/ignore @@ -0,0 +1 @@ +vendor/