Improvements
This commit is contained in:
parent
726463c3ab
commit
589b6fa2f4
9 changed files with 55 additions and 56 deletions
|
@ -1,8 +1,3 @@
|
|||
if [[ -z "$(which-command chezmoi)" && -x "$HOME/bin/chezmoi" ]]; then
|
||||
function chezmoi() {
|
||||
"$HOME/bin/chezmoi" "${@}"
|
||||
}
|
||||
fi
|
||||
if [[ -n "$(which-command chezmoi)" ]]; then
|
||||
export CHEZMOIROOT="$(chezmoi source-path)"
|
||||
export CZ="$CHEZMOIROOT"
|
||||
|
@ -26,7 +21,7 @@ if [[ -n "$(which-command chezmoi)" ]]; then
|
|||
alias czu="cz upgrade && cz update && exec $SHELL "
|
||||
alias czxu="cz upgrade && cz update && czx apply && exec $SHELL "
|
||||
|
||||
alias cz-refresh="czs | cut -d\ -f2 | grep '^\.sz\.shrc\.d' | xargs chezmoi forget --force; cz add ~/.sz.shrc.d --recursive; cz status; cz git status"
|
||||
alias cz-refresh="czs | cut -d\ -f2 | grep '^\.sz\.shrc\.d' | xargs cz forget --force; cz add ~/.sz.shrc.d --recursive; cz status; cz git status"
|
||||
alias cz-commit="cz git -- commit -a "
|
||||
|
||||
function cz-remove-missing() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue