diff --git a/home/executable_dot_bash_aliases.tmpl b/home/executable_dot_bash_aliases.tmpl index e7e1f62..c34d356 100644 --- a/home/executable_dot_bash_aliases.tmpl +++ b/home/executable_dot_bash_aliases.tmpl @@ -12,6 +12,10 @@ alias chlg='lazygit --path ~/.local/share/chezmoi' # Chezmoi alias cha='chezmoi apply --interactive' alias ch='chezmoi' +chshow() { + target=$(find {{ .chezmoi.sourceDir | quote }} -name "*.tmpl" -type f | fzf) + cat $target | chezmoi execute-template +} # Other aliases alias gpt='chatgpt'