]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .gitshrc
bin/git-cv: Be compatible with GNU "cut"
[dotfiles.git] / .gitshrc
1 #!/usr/bin/env bash
2 # Settings for git-sh
3
4 # list remotes with repo URLs
5 rv () {
6 local line
7 git remote -v | grep push | sed 's/(.*$//' |
8 while read line;
9 do
10 printf "%-15s %s\n" $line
11 done
12 }
13
14 gitcomplete cv checkout
15 gitcomplete track checkout
16 gitcomplete gitx checkout
17 gitcomplete tig checkout