Browse Source

New aliases: k for gitk and ka for gitk --all

The latter is alternative for `gitka` bash alias
Alois Mahdal 11 years ago
parent
commit
d4b9493e15
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      dotfiles/git-universe/before.gitconfig

+ 4
- 0
dotfiles/git-universe/before.gitconfig View File

18
   grr = log --graph --full-history --all --color\
18
   grr = log --graph --full-history --all --color\
19
         --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"\
19
         --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"\
20
         --simplify-by-decoration
20
         --simplify-by-decoration
21
+  k = !sh -c \
22
+      '(which gitk >/dev/null || (echo "gitk not installed" && false)) && gitk'
23
+  ka = !sh -c \
24
+       '(which gitk >/dev/null || (echo "gitk not installed" && false)) && gitk --all'
21
   rb = rebase
25
   rb = rebase
22
   rbi = rebase --interactive
26
   rbi = rebase --interactive
23
   rmv = remote --verbose
27
   rmv = remote --verbose