Pārlūkot izejas kodu

Update default command

master
10sr pirms 5 gadiem
vecāks
revīzija
34eea3f66f
Parakstījis: 10sr GPG atslēgas ID: C384BB17CBB19347
1 mainītis faili ar 7 papildinājumiem un 3 dzēšanām
  1. +7
    -3
      emacs.el

+ 7
- 3
emacs.el Parādīt failu

@@ -743,12 +743,16 @@ found, otherwise returns nil."
;; Breadth-first find https://github.com/tavianator/bfs
"bfs"
"find"))
(defcmd (concat "set -o pipefail; "
(defcmd (concat "set -eu; set -o pipefail; "
"echo .; "
"echo ..; "
"command " find " -L . "
"-mindepth 1 "
"\\( -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \\) -prune "
"-o -print 2> /dev/null "
"-o -print "
"2> /dev/null "
"| "
"sed -e 's|^\\./||'")))
"cut -b3-")))
(setenv "FZF_DEFAULT_COMMAND" defcmd))
(define-key ctl-x-map (kbd "C-f") 'fzf)
)


Notiek ielāde…
Atcelt
Saglabāt