Procházet zdrojové kódy

Update fzf default command

master
10sr před 5 roky
rodič
revize
1e0586fe12
Podepsáno: 10sr ID GPG klíče: 7BEC428194130EB2
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      emacs.el

+ 2
- 2
emacs.el Zobrazit soubor

@@ -737,8 +737,8 @@ found, otherwise returns nil."
;; Too slow!
;; (set-variable 'fzf/executable "sk")
;; (set-variable 'fzf/args "--color bw --print-query")
;; Modified from hardcoded default to include directories
(let ((defcmd "set -o pipefail; command find -L . -mindepth 1 \\( -path '*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \\) -prune -o -print 2> /dev/null | cut -b3-"))
;; Modified from hardcoded default to include directories, hidden files, and root directory
(let ((defcmd "set -o pipefail; command find -L . \\( -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \\) -prune -o -print 2> /dev/null"))
(setenv "FZF_DEFAULT_COMMAND" defcmd))
;; (define-key ctl-x-map (kbd "C-f") 'fzf)
)


Načítá se…
Zrušit
Uložit