From b5090f71a1d45de32337b24434921943b56bbe92 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Thu, 22 Apr 2021 09:50:44 -0400 Subject: [PATCH] move template directories --- nvim.configlink/settings/snippets.vim | 24 +++++++++---------- .../kubernetes}/clusterrole.yaml | 0 .../kubernetes}/clusterrolebinding.yaml | 0 .../kubernetes}/configmap.yaml | 0 .../kubernetes}/deployment.yaml | 0 .../kubernetes}/ingress.yaml | 0 .../kubernetes}/role.yaml | 0 .../kubernetes}/rolebinding.yaml | 0 .../kubernetes}/secret.yaml | 0 .../kubernetes}/service.yaml | 0 .../kubernetes}/serviceaccount.yaml | 0 .../programs}/skeleton.py | 0 .../programs}/skeleton.sh | 0 13 files changed, 12 insertions(+), 12 deletions(-) rename {shell/templates => templates/kubernetes}/clusterrole.yaml (100%) rename {shell/templates => templates/kubernetes}/clusterrolebinding.yaml (100%) rename {shell/templates => templates/kubernetes}/configmap.yaml (100%) rename {shell/templates => templates/kubernetes}/deployment.yaml (100%) rename {shell/templates => templates/kubernetes}/ingress.yaml (100%) rename {shell/templates => templates/kubernetes}/role.yaml (100%) rename {shell/templates => templates/kubernetes}/rolebinding.yaml (100%) rename {shell/templates => templates/kubernetes}/secret.yaml (100%) rename {shell/templates => templates/kubernetes}/service.yaml (100%) rename {shell/templates => templates/kubernetes}/serviceaccount.yaml (100%) rename {shell/templates => templates/programs}/skeleton.py (100%) rename {shell/templates => templates/programs}/skeleton.sh (100%) diff --git a/nvim.configlink/settings/snippets.vim b/nvim.configlink/settings/snippets.vim index 2632272..b2988ed 100644 --- a/nvim.configlink/settings/snippets.vim +++ b/nvim.configlink/settings/snippets.vim @@ -2,17 +2,17 @@ "--------- " Basic programming files -nnoremap ,sh :-1read $DOTS/shell/templates/skeleton.shGdd03kC -nnoremap ,py :-1read $DOTS/shell/templates/skeleton.pyGdd08kC +nnoremap ,sh :-1read $DOTS/templates/programs/skeleton.shGdd03kC +nnoremap ,py :-1read $DOTS/templates/programs/skeleton.pyGdd08kC " Kubernetes -nnoremap ,cm :-1read $DOTS/shell/templates/configmap.yamlGdd0gg -nnoremap ,sec :-1read $DOTS/shell/templates/secret.yamlGdd0gg -nnoremap ,dep :-1read $DOTS/shell/templates/deployment.yamlGdd0gg -nnoremap ,svc :-1read $DOTS/shell/templates/service.yamlGdd0gg -nnoremap ,ing :-1read $DOTS/shell/templates/ingress.yamlGdd0gg -nnoremap ,cro :-1read $DOTS/shell/templates/clusterrole.yamlGdd0gg -nnoremap ,crb :-1read $DOTS/shell/templates/clusterrolebinding.yamlGdd0gg -nnoremap ,ro :-1read $DOTS/shell/templates/role.yamlGdd0gg -nnoremap ,rb :-1read $DOTS/shell/templates/rolebinding.yamlGdd0gg -nnoremap ,sa :-1read $DOTS/shell/templates/serviceaccount.yamlGdd0gg +nnoremap ,cm :-1read $DOTS/templates/kubernetes/configmap.yamlGdd0gg +nnoremap ,sec :-1read $DOTS/templates/kubernetes/secret.yamlGdd0gg +nnoremap ,dep :-1read $DOTS/templates/kubernetes/deployment.yamlGdd0gg +nnoremap ,svc :-1read $DOTS/templates/kubernetes/service.yamlGdd0gg +nnoremap ,ing :-1read $DOTS/templates/kubernetes/ingress.yamlGdd0gg +nnoremap ,cro :-1read $DOTS/templates/kubernetes/clusterrole.yamlGdd0gg +nnoremap ,crb :-1read $DOTS/templates/kubernetes/clusterrolebinding.yamlGdd0gg +nnoremap ,ro :-1read $DOTS/templates/kubernetes/role.yamlGdd0gg +nnoremap ,rb :-1read $DOTS/templates/kubernetes/rolebinding.yamlGdd0gg +nnoremap ,sa :-1read $DOTS/templates/kubernetes/serviceaccount.yamlGdd0gg diff --git a/shell/templates/clusterrole.yaml b/templates/kubernetes/clusterrole.yaml similarity index 100% rename from shell/templates/clusterrole.yaml rename to templates/kubernetes/clusterrole.yaml diff --git a/shell/templates/clusterrolebinding.yaml b/templates/kubernetes/clusterrolebinding.yaml similarity index 100% rename from shell/templates/clusterrolebinding.yaml rename to templates/kubernetes/clusterrolebinding.yaml diff --git a/shell/templates/configmap.yaml b/templates/kubernetes/configmap.yaml similarity index 100% rename from shell/templates/configmap.yaml rename to templates/kubernetes/configmap.yaml diff --git a/shell/templates/deployment.yaml b/templates/kubernetes/deployment.yaml similarity index 100% rename from shell/templates/deployment.yaml rename to templates/kubernetes/deployment.yaml diff --git a/shell/templates/ingress.yaml b/templates/kubernetes/ingress.yaml similarity index 100% rename from shell/templates/ingress.yaml rename to templates/kubernetes/ingress.yaml diff --git a/shell/templates/role.yaml b/templates/kubernetes/role.yaml similarity index 100% rename from shell/templates/role.yaml rename to templates/kubernetes/role.yaml diff --git a/shell/templates/rolebinding.yaml b/templates/kubernetes/rolebinding.yaml similarity index 100% rename from shell/templates/rolebinding.yaml rename to templates/kubernetes/rolebinding.yaml diff --git a/shell/templates/secret.yaml b/templates/kubernetes/secret.yaml similarity index 100% rename from shell/templates/secret.yaml rename to templates/kubernetes/secret.yaml diff --git a/shell/templates/service.yaml b/templates/kubernetes/service.yaml similarity index 100% rename from shell/templates/service.yaml rename to templates/kubernetes/service.yaml diff --git a/shell/templates/serviceaccount.yaml b/templates/kubernetes/serviceaccount.yaml similarity index 100% rename from shell/templates/serviceaccount.yaml rename to templates/kubernetes/serviceaccount.yaml diff --git a/shell/templates/skeleton.py b/templates/programs/skeleton.py similarity index 100% rename from shell/templates/skeleton.py rename to templates/programs/skeleton.py diff --git a/shell/templates/skeleton.sh b/templates/programs/skeleton.sh similarity index 100% rename from shell/templates/skeleton.sh rename to templates/programs/skeleton.sh