mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 00:03:39 -05:00
Update bash example
This commit is contained in:
@@ -183,6 +183,14 @@ fda() {
|
|||||||
DIR=$(find ${1:-*} -type d 2> /dev/null | fzf) && cd "$DIR"
|
DIR=$(find ${1:-*} -type d 2> /dev/null | fzf) && cd "$DIR"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# fsel - Select multiple files in the given path
|
||||||
|
fsel() {
|
||||||
|
find ${1:-*} | fzf -m | while read item; do
|
||||||
|
echo -n "\"$item\" "
|
||||||
|
done
|
||||||
|
echo
|
||||||
|
}
|
||||||
|
|
||||||
# fh - repeat history
|
# fh - repeat history
|
||||||
fh() {
|
fh() {
|
||||||
eval $(history | fzf +s | sed 's/ *[0-9]* *//')
|
eval $(history | fzf +s | sed 's/ *[0-9]* *//')
|
||||||
|
|||||||
Reference in New Issue
Block a user