mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
zsh: add "cd to git root" alias
This commit is contained in:
parent
36025df7c8
commit
6616e39f91
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ alias ncdu='ncdu --color off'
|
||||||
alias ga.='ga . && gst'
|
alias ga.='ga . && gst'
|
||||||
alias gcmsgrnd='git commit -m "$(fakemsg)"'
|
alias gcmsgrnd='git commit -m "$(fakemsg)"'
|
||||||
alias ghist="git log --name-only --pretty='' | sed -e '/^\\s*$/d' | awk '!seen[\$0]++' | less"
|
alias ghist="git log --name-only --pretty='' | sed -e '/^\\s*$/d' | awk '!seen[\$0]++' | less"
|
||||||
|
alias cdgr='cd $(git rev-parse --show-toplevel)'
|
||||||
|
|
||||||
## Servers
|
## Servers
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue