]> code.delx.au - dotemacs/commitdiff
counsel-find-file should not show . and ..
authorJames Bunton <jamesbunton@delx.net.au>
Wed, 27 Jul 2016 15:09:52 +0000 (01:09 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Wed, 27 Jul 2016 15:26:46 +0000 (01:26 +1000)
lisp/my-completion.el

index 63b066d114cd5b46d6021dbb51508221d979518a..95bfa3ed75a5310842e6aaf3a6cfa6c8b5994b59 100644 (file)
@@ -7,5 +7,6 @@
 (setq counsel-find-file-at-point t)
 (setq counsel-find-file-ignore-regexp "\\(?:\\`[#.]\\)\\|\\(?:[#~]\\'\\)")
 (setq ivy-wrap t)
+(setq ivy-extra-directories nil)
 (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")