summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2014-06-12 23:28:59 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2014-06-12 23:28:59 +0900
commit9dac12cb3222408375eadbb8391973a2089a6cee (patch)
treea27f88d164a1a3500a6d107b9f3607185cc1b865 /README.md
parentd76a3646b7181b14491ddaf45526a39c6aaba807 (diff)
Remove duplicate examples from README
As discussed in #54
Diffstat (limited to 'README.md')
-rw-r--r--README.md33
1 files changed, 0 insertions, 33 deletions
diff --git a/README.md b/README.md
index 8c6a0339..c05c579e 100644
--- a/README.md
+++ b/README.md
@@ -173,12 +173,6 @@ fd() {
cd "$dir"
}
-# fda - including hidden directories
-fda() {
- local dir
- dir=$(find ${1:-.} -type d 2> /dev/null | fzf +m) && cd "$dir"
-}
-
# fh - repeat history
fh() {
eval $(([ -n "$ZSH_NAME" ] && fc -l 1 || history) | fzf +s | sed 's/ *[0-9]* *//')
@@ -188,33 +182,6 @@ fh() {
fkill() {
ps -ef | sed 1d | fzf -m | awk '{print $2}' | xargs kill -${1:-9}
}
-
-# fbr - checkout git branch
-fbr() {
- local branches branch
- branches=$(git branch) &&
- branch=$(echo "$branches" | fzf +s +m) &&
- git checkout $(echo "$branch" | sed "s/.* //")
-}
-
-# fco - checkout git commit
-fco() {
- local commits commit
- commits=$(git log --pretty=oneline --abbrev-commit --reverse) &&
- commit=$(echo "$commits" | fzf +s +m -e) &&
- git checkout $(echo "$commit" | sed "s/ .*//")
-}
-
-# ftags - search ctags
-ftags() {
- local line
- [ -e tags ] &&
- line=$(
- awk 'BEGIN { FS="\t" } !/^!/ {print toupper($4)"\t"$1"\t"$2"\t"$3}' tags |
- cut -c1-80 | fzf --nth=1,2
- ) && $EDITOR $(cut -f3 <<< "$line") -c "set nocst" \
- -c "silent tag $(cut -f2 <<< "$line")"
-}
```
For more examples, see [the wiki