Additional chezmoi aliases

czcd / cdcz
czs - chezmoi status
This commit is contained in:
Gal Szkolnik 2022-06-07 00:42:50 -04:00
parent f562c379aa
commit 4197e32e72
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,11 @@
if [[ -n "$(type -fP chezmoi)" ]]; then
alias cdcz="cd $(chezmoi source-path)"
alias czcd="cdcz "
alias cz="chezmoi "
alias czs="chezmoi status "
alias cz-refresh="chezmoi status | cut -d\ -f2 | grep '^\.sz\.shrc\.d' | xargs chezmoi forget --force; chezmoi add ~/.sz.shrc.d --recursive; chezmoi status; chezmoi git status"
alias cz-commit="chezmoi git -- commit -a "