feat: add chezmoi cd alias and separate interactive apply command

This commit is contained in:
2025-12-27 23:25:34 -06:00
parent f859d5d44b
commit ffcb41380c
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -16,8 +16,10 @@ alias chlg='lazygit --path ~/.local/share/chezmoi'
alias es='exec $SHELL'
# Chezmoi
alias cha='chezmoi apply --interactive'
alias cha='chezmoi apply'
alias chai='chezmoi apply --interactive'
alias ch='chezmoi'
alias cdc='chezmoi cd'
chshow() {
target=$(find {{ .chezmoi.sourceDir | quote }} -name "*.tmpl" -type f | fzf)
cat $target | chezmoi execute-template