Skip to content
Snippets Groups Projects
Commit e52a1d5f authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Update bash example

parent 423e26b0
No related branches found
No related tags found
No related merge requests found
......@@ -183,6 +183,14 @@ fda() {
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() {
eval $(history | fzf +s | sed 's/ *[0-9]* *//')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment