mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 09:03:43 -05:00
Correcting fz to fzf
@@ -66,7 +66,7 @@ Table of Contents
|
|||||||
# f 'echo Selected music:' --extention mp3
|
# f 'echo Selected music:' --extention mp3
|
||||||
# fm rm # To rm files in current directory
|
# fm rm # To rm files in current directory
|
||||||
f() {
|
f() {
|
||||||
sels=( "${(@f)$(fd "${fd_default[@]}" "${@:2}"|fz)}" )
|
sels=( "${(@f)$(fd "${fd_default[@]}" "${@:2}"|fzf)}" )
|
||||||
test -n "$sels" && print -z -- "$1 ${sels[@]:q:q}"
|
test -n "$sels" && print -z -- "$1 ${sels[@]:q:q}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user