mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-15 02:11:35 -06:00
Add chshow with fzf finder for fast execute-template
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user