Added cz aliases
cz-refresh - refresh the chezmoi source cz-commit - shortcut to a commit all
This commit is contained in:
parent
786431f769
commit
de2e7e8ae5
|
@ -1,5 +1,11 @@
|
||||||
alias sudo="sudo "
|
alias sudo="/usr/bin/sudo "
|
||||||
alias nvim="nvim -p "
|
alias nvim="/usr/bin/nvim -p "
|
||||||
alias vim="nvim "
|
alias vim="nvim "
|
||||||
alias vi="nvim "
|
alias vi="nvim "
|
||||||
|
|
||||||
|
alias ed="nvim "
|
||||||
|
|
||||||
|
alias edshrc="ed ~/.sz.shrc.d ; exec $SHELL"
|
||||||
|
alias cz="chezmoi "
|
||||||
|
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