From faa549b7545171ea80a417f52979f39aa74d4530 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Thu, 25 May 2023 14:37:44 -0700 Subject: [PATCH] Convert erdtree to chezmoi --- dot_config/bash/bashrc.d/erdtree.sh.tmpl | 3 +++ dot_config/fish/conf.d/erdtree.fish.tmpl | 3 +++ .../erdtree.zsh => dot_config/zsh/zshrc.d/erdtree.zsh.tmpl | 2 ++ .../bin/executable_install-erdtree | 0 erdtree/.config/bash/bashrc.d/erdtree.sh | 1 - erdtree/.config/erdtree/.erdtreerc | 5 ----- erdtree/.config/fish/conf.d/erdtree.fish | 1 - 7 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 dot_config/bash/bashrc.d/erdtree.sh.tmpl create mode 100644 dot_config/fish/conf.d/erdtree.fish.tmpl rename erdtree/.config/zsh/zshrc.d/erdtree.zsh => dot_config/zsh/zshrc.d/erdtree.zsh.tmpl (64%) rename erdtree/.local/bin/install-erdtree => dot_local/bin/executable_install-erdtree (100%) mode change 100755 => 100644 delete mode 100644 erdtree/.config/bash/bashrc.d/erdtree.sh delete mode 100644 erdtree/.config/erdtree/.erdtreerc delete mode 100644 erdtree/.config/fish/conf.d/erdtree.fish diff --git a/dot_config/bash/bashrc.d/erdtree.sh.tmpl b/dot_config/bash/bashrc.d/erdtree.sh.tmpl new file mode 100644 index 0000000..9dc1041 --- /dev/null +++ b/dot_config/bash/bashrc.d/erdtree.sh.tmpl @@ -0,0 +1,3 @@ +{{ if lookPath "erd" -}} +eval "$(erd --completions bash)" +{{- end }} diff --git a/dot_config/fish/conf.d/erdtree.fish.tmpl b/dot_config/fish/conf.d/erdtree.fish.tmpl new file mode 100644 index 0000000..9c3a0af --- /dev/null +++ b/dot_config/fish/conf.d/erdtree.fish.tmpl @@ -0,0 +1,3 @@ +{{ if lookPath "erd" -}} +eval "$(erd --completions fish)" +{{- end }} diff --git a/erdtree/.config/zsh/zshrc.d/erdtree.zsh b/dot_config/zsh/zshrc.d/erdtree.zsh.tmpl similarity index 64% rename from erdtree/.config/zsh/zshrc.d/erdtree.zsh rename to dot_config/zsh/zshrc.d/erdtree.zsh.tmpl index 0a33df0..185cf30 100644 --- a/erdtree/.config/zsh/zshrc.d/erdtree.zsh +++ b/dot_config/zsh/zshrc.d/erdtree.zsh.tmpl @@ -1,4 +1,6 @@ +{{ if lookPath "erd" -}} autoload -Uz compinit compinit eval "$(erd --completions zsh)" +{{- end }} diff --git a/erdtree/.local/bin/install-erdtree b/dot_local/bin/executable_install-erdtree old mode 100755 new mode 100644 similarity index 100% rename from erdtree/.local/bin/install-erdtree rename to dot_local/bin/executable_install-erdtree diff --git a/erdtree/.config/bash/bashrc.d/erdtree.sh b/erdtree/.config/bash/bashrc.d/erdtree.sh deleted file mode 100644 index 42456d5..0000000 --- a/erdtree/.config/bash/bashrc.d/erdtree.sh +++ /dev/null @@ -1 +0,0 @@ -eval "$(erd --completions bash)" diff --git a/erdtree/.config/erdtree/.erdtreerc b/erdtree/.config/erdtree/.erdtreerc deleted file mode 100644 index af1d66a..0000000 --- a/erdtree/.config/erdtree/.erdtreerc +++ /dev/null @@ -1,5 +0,0 @@ ---icons ---hidden ---dirs-first ---human ---no-git diff --git a/erdtree/.config/fish/conf.d/erdtree.fish b/erdtree/.config/fish/conf.d/erdtree.fish deleted file mode 100644 index 313cfbc..0000000 --- a/erdtree/.config/fish/conf.d/erdtree.fish +++ /dev/null @@ -1 +0,0 @@ -eval "$(erd --completions fish)"