tweak(vertico): ignore svn and hg dirs in file search

This commit is contained in:
dvzubarev 2022-02-28 21:06:20 +03:00 committed by Henrik Lissner
parent f817e4ffbd
commit 614aefc339

View file

@ -27,7 +27,7 @@
(unless recursive "--maxdepth 1 ") (unless recursive "--maxdepth 1 ")
"--null --line-buffered --color=never --max-columns=1000 " "--null --line-buffered --color=never --max-columns=1000 "
"--path-separator / --smart-case --no-heading --line-number " "--path-separator / --smart-case --no-heading --line-number "
"--hidden -g !.git " "--hidden -g !.git -g !.svn -g !.hg "
(mapconcat #'shell-quote-argument args " ") (mapconcat #'shell-quote-argument args " ")
" .")) " ."))
(prompt (if (stringp prompt) (string-trim prompt) "Search")) (prompt (if (stringp prompt) (string-trim prompt) "Search"))