Renamed "fd" function to "fcd" to avoid clash with "fd" tool
parent
c053c65a9f
commit
846f730a9e
|
|
@ -18,11 +18,11 @@ fe() {
|
|||
[[ -n "$files" ]] && ${EDITOR:-vim} "${files[@]}"
|
||||
}
|
||||
|
||||
fd() {
|
||||
fcd() {
|
||||
about "cd to the selected directory"
|
||||
group "fzf"
|
||||
param "1: Directory to browse, or . if omitted"
|
||||
example "fd aliases"
|
||||
example "fcd aliases"
|
||||
|
||||
local dir
|
||||
dir=$(find ${1:-.} -path '*/\.*' -prune \
|
||||
|
|
|
|||
Loading…
Reference in New Issue