mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-04 19:28:58 +08:00
Update README and install script
- Added examples: fbr and fco - Always use local variables
This commit is contained in:
1 parent
c6acb2a639
commit
f4c5aa03d7
2 files changed
+24
-4
No files matched your search
@@ -111,7 +111,8 @@ __fsel() {
|
||||
}
|
||||
|
||||
__fcd() {
|
||||
DIR=$(find ${1:-*} -path '*/\.*' -prune -o -type d -print 2> /dev/null | fzf) && printf 'cd %q' "$DIR"
|
||||
local dir
|
||||
dir=$(find ${1:-*} -path '*/\.*' -prune -o -type d -print 2> /dev/null | fzf) && printf 'cd %q' "$dir"
|
||||
}
|
||||
|
||||
if [ -z "$(set -o | grep '^vi.*on')" ]; then
|
||||
|
||||
Reference in new issue
Block a user