mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-01 04:32:05 -07:00
Update README and install script
- Added examples: fbr and fco - Always use local variables
This commit is contained in:
3
install
3
install
@@ -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