Przeglądaj źródła

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

The latter is alternative for `gitka` bash alias
Alois Mahdal 10 lat temu
rodzic
commit
d4b9493e15
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4
    0
      dotfiles/git-universe/before.gitconfig

+ 4
- 0
dotfiles/git-universe/before.gitconfig Wyświetl plik

@@ -18,6 +18,10 @@
18 18
   grr = log --graph --full-history --all --color\
19 19
         --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"\
20 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 25
   rb = rebase
22 26
   rbi = rebase --interactive
23 27
   rmv = remote --verbose