From 255f08ddddc448bf8a9f3454d696b778999f7c54 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 10 Sep 2022 19:12:38 +0800 Subject: Integrate with git jump --- .gitconfig | 9 +++++++++ bin/git-jump | 5 +++++ 2 files changed, 14 insertions(+) create mode 100755 bin/git-jump diff --git a/.gitconfig b/.gitconfig index 3550199..0511840 100644 --- a/.gitconfig +++ b/.gitconfig @@ -47,3 +47,12 @@ rbc = rebase --continue rba = rebase --abort rbs = rebase --skip + + # contrib + + # git-jump + jp = jump + jd = jump diff + jm = jump merge + jg = jump grep + jw = jump ws diff --git a/bin/git-jump b/bin/git-jump new file mode 100755 index 0000000..d7f4cf4 --- /dev/null +++ b/bin/git-jump @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +if [[ $(uname) == Darwin ]] && command -v brew > /dev/null ;then + $(brew --prefix git)/share/git-core/contrib/git-jump/git-jump $@ +fi -- cgit v1.2.3