From 7c89bd1b15c7b1cf77b715584cc7b8ad76289bac Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 13 Oct 2024 04:50:44 -0500 Subject: [PATCH] Add chezmoi completion scripts to bashrc/zshrc --- home/dot_bashrc.tmpl | 3 ++- home/dot_zshrc.tmpl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/home/dot_bashrc.tmpl b/home/dot_bashrc.tmpl index b2f2d4b..24168bb 100644 --- a/home/dot_bashrc.tmpl +++ b/home/dot_bashrc.tmpl @@ -98,4 +98,5 @@ if ! shopt -oq posix; then fi fi -{{ template "scripts/commonrc.sh.tmpl" "bash" }} \ No newline at end of file +{{ template "scripts/commonrc.sh.tmpl" "bash" }} +{{ completion "bash" }} \ No newline at end of file diff --git a/home/dot_zshrc.tmpl b/home/dot_zshrc.tmpl index b2167b6..7856e93 100644 --- a/home/dot_zshrc.tmpl +++ b/home/dot_zshrc.tmpl @@ -29,3 +29,4 @@ source $ZSH/oh-my-zsh.sh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # configure with `p10k configure` {{ template "scripts/commonrc.sh.tmpl" "zsh" }} +{{ completion "zsh" }} \ No newline at end of file