fish: add alias "git root"

This commit is contained in:
lelgenio 2021-03-23 11:58:08 -03:00
parent f97f4a2670
commit 8b1d7eb642
2 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,7 @@ abbr -g gs 'git status'
abbr -g gd 'git diff'
abbr -g gp 'git pull; git push'
abbr -g gc 'git commit'
abbr -g gr 'cd (git root)'
################################################################

View File

@ -19,6 +19,7 @@
[alias]
graph = log --graph --oneline --all
root = rev-parse --show-toplevel
{%@@ if tabs @@%}