Skip to content
Myr

Remove duplicate examples from README

Before adoption: this commit came in with the history the project adopted, so no landing records it.

As discussed in #54

authored by Junegunn Choi · committed by Junegunn Choi · parent d76a364 · Browse files · 1 file+0 added−33 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−33 removed

  • other:+0 added−33 removed

1 file+0 added−33 removed

modified:README.md-33 removed
171 unmodified lines
172 -o -type d -print 2> /dev/null | fzf +m) &&173 cd "$dir"174}175176# fda - including hidden directories177fda() {178 local dir179 dir=$(find ${1:-.} -type d 2> /dev/null | fzf +m) && cd "$dir"180}181176# fh - repeat history177fh() {178 eval $(([ -n "$ZSH_NAME" ] && fc -l 1 || history) | fzf +s | sed 's/ *[0-9]* *//')179}
1 unmodified line
181# fkill - kill process182fkill() {183 ps -ef | sed 1d | fzf -m | awk '{print $2}' | xargs kill -${1:-9}184}191192# fbr - checkout git branch193fbr() {194 local branches branch195 branches=$(git branch) &&196 branch=$(echo "$branches" | fzf +s +m) &&197 git checkout $(echo "$branch" | sed "s/.* //")198}199200# fco - checkout git commit201fco() {202 local commits commit203 commits=$(git log --pretty=oneline --abbrev-commit --reverse) &&204 commit=$(echo "$commits" | fzf +s +m -e) &&205 git checkout $(echo "$commit" | sed "s/ .*//")206}207208# ftags - search ctags209ftags() {210 local line211 [ -e tags ] &&212 line=$(213 awk 'BEGIN { FS="\t" } !/^!/ {print toupper($4)"\t"$1"\t"$2"\t"$3}' tags |214 cut -c1-80 | fzf --nth=1,2215 ) && $EDITOR $(cut -f3 <<< "$line") -c "set nocst" \216 -c "silent tag $(cut -f2 <<< "$line")"217}185```186187For more examples, see [the wiki188page](https://github.com/junegunn/fzf/wiki/examples).
348 unmodified lines