diff --git a/rc/fzf-modules/fzf-cd.kak b/rc/fzf-modules/fzf-cd.kak index af6d038..58b7620 100644 --- a/rc/fzf-modules/fzf-cd.kak +++ b/rc/fzf-modules/fzf-cd.kak @@ -10,7 +10,7 @@ declare-option -docstring "command to provide list of directories to fzf. Default value: - find: (echo .. && find \( -path '*/.svn*' -o -path '*/.git*' \) -prune -o -type d -print) + find: (echo .. && find . \( -path '*/.svn*' -o -path '*/.git*' \) -prune -o -type d -print) " \ str fzf_cd_command "find" @@ -37,7 +37,7 @@ define-command -hidden fzf-cd %{ evaluate-commands %sh{ case $kak_opt_fzf_cd_command in find) - items_command="(echo .. && find \( -path '*/.svn*' -o -path '*/.git*' \) -prune -o -type d -print)" ;; + items_command="(echo .. && find . \( -path '*/.svn*' -o -path '*/.git*' \) -prune -o -type d -print)" ;; *) items_command=$kak_opt_fzf_cd_command ;; esac diff --git a/rc/fzf-modules/fzf-file.kak b/rc/fzf-modules/fzf-file.kak index 812cbac..4206eca 100644 --- a/rc/fzf-modules/fzf-file.kak +++ b/rc/fzf-modules/fzf-file.kak @@ -17,7 +17,7 @@ Supported tools: fd: ""fd"" Default arguments: - find: ""find -type f -follow"" + find: ""find -L . -type f"" ag: ""ag -l -f --hidden --one-device ."" rg: ""rg -L --hidden --files"" fd: ""fd --type f --follow"" @@ -33,7 +33,7 @@ define-command -hidden fzf-file %{ evaluate-commands %sh{ fi case $kak_opt_fzf_file_command in find) - cmd="find -type f -follow" ;; + cmd="find -L . -type f" ;; ag) cmd="ag -l -f --hidden --one-device . " ;; rg)