golang: make ripgrep and fd ignore the vendor folder
This commit is contained in:
parent
6cc1560a07
commit
aad67c43a8
3
fish/functions/rg.fish
Normal file
3
fish/functions/rg.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function rg --wraps rg
|
||||
command rg --ignore-file="$XDG_CONFIG_HOME/ripgrep/ignore" $argv
|
||||
end
|
@ -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
|
||||
|
1
ripgrep/ignore
Normal file
1
ripgrep/ignore
Normal file
@ -0,0 +1 @@
|
||||
vendor/
|
Loading…
x
Reference in New Issue
Block a user