mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
zsh: add cdg alias
This commit is contained in:
parent
1f0a33e876
commit
a36239f28b
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ alias nmtui-connect='NEWT_COLORS="$NMTUI_COLORS" nmtui-connect'
|
||||||
|
|
||||||
## git
|
## git
|
||||||
|
|
||||||
|
alias cdg='cd $(git rev-parse --show-toplevel 2>/dev/null)'
|
||||||
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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue