Skip to content

Instantly share code, notes, and snippets.

View mikeage's full-sized avatar

Mike Miller mikeage

View GitHub Profile
@mikeage
mikeage / functions.sh
Last active September 22, 2019 05:24 — forked from junegunn/functions.sh
Key bindings for git with fzf (https://junegunn.kr/2016/07/fzf-git/)
# GIT heart FZF
# -------------
is_in_git_repo() {
git rev-parse HEAD > /dev/null 2>&1
}
fzf-down() {
fzf-tmux --height 50% "$@" --border
}