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