Additional chezmoi aliases
czcd / cdcz czs - chezmoi status
This commit is contained in:
parent
f562c379aa
commit
4197e32e72
|
@ -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 "
|
||||
|
||||
|
|
Loading…
Reference in New Issue