]> code.delx.au - dotemacs/blobdiff - lisp/my-completion.el
'C-c f' excludes gitignored files
[dotemacs] / lisp / my-completion.el
index c431408183cf5e5c188f11428ba80f1727f5ee24..47b75f4e47685f501e3ef331da8e649c7cb557b5 100644 (file)
@@ -5,5 +5,5 @@
 (setq counsel-find-file-at-point t)
 (setq counsel-find-file-ignore-regexp "\\(?:\\`[#.]\\)\\|\\(?:[#~]\\'\\)")
 (setq ivy-wrap t)
-(setq counsel-git-cmd "git ls-files --full-name --cached --others --")
+(setq counsel-git-cmd "git ls-files --full-name --cached --others --exclude-standard --")
 (setq counsel-git-grep-cmd-default "git --no-pager grep --full-name -n --no-color --untracked -i -e %S")