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)"