-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathbash_completion
More file actions
20 lines (19 loc) · 675 Bytes
/
bash_completion
File metadata and controls
20 lines (19 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# http://onrails.org/articles/2006/11/17/rake-command-completion-using-rake
if [ -f ~/bin/rake_completion ]; then
. ~/bin/rake_completion
fi
# https://stackoverflow.com/a/24665529/8985
__git_complete g __git_main
__git_complete gco _git_checkout
__git_complete gc _git_commit
__git_complete gl _git_pull
__git_complete glr _git_pull
__git_complete gp _git_push
__git_complete gs _git_status
__git_complete gb _git_branch
__git_complete gu _git_branch
__git_complete gd _git_diff
__git_complete gcp _git_cherry_pick
__git_complete gr _git_remote
__git_complete gcherry _git_log
__git_complete git-pr _git_checkout