mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
zsh: cdgr: fallback
This commit is contained in:
parent
0bb59abadc
commit
943e19f52e
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ alias nmtui-connect='NEWT_COLORS="$NMTUI_COLORS" nmtui-connect'
|
|||
|
||||
## Git
|
||||
|
||||
alias cdgr='cd $(git rev-parse --show-toplevel 2>/dev/null)'
|
||||
alias cdgr='cd "$(git rev-parse --show-toplevel || echo .)"'
|
||||
alias ga.='ga . && gst'
|
||||
alias gcmsgrnd='git commit -m "$(fakemsg)"'
|
||||
alias ghist="git log --name-only --pretty='' | sed -e '/^\\s*$/d' | awk '!seen[\$0]++' | less"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue