mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-16 16:11:41 -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
|
# Chezmoi
|
||||||
alias cha='chezmoi apply --interactive'
|
alias cha='chezmoi apply --interactive'
|
||||||
alias ch='chezmoi'
|
alias ch='chezmoi'
|
||||||
|
chshow() {
|
||||||
|
target=$(find {{ .chezmoi.sourceDir | quote }} -name "*.tmpl" -type f | fzf)
|
||||||
|
cat $target | chezmoi execute-template
|
||||||
|
}
|
||||||
|
|
||||||
# Other aliases
|
# Other aliases
|
||||||
alias gpt='chatgpt'
|
alias gpt='chatgpt'
|
||||||
|
|||||||
Reference in New Issue
Block a user