From 6885c76c37e3ec0f99f69d992fbaba118c507848 Mon Sep 17 00:00:00 2001 From: dx Date: Tue, 12 May 2020 19:48:01 +0100 Subject: -gentemplate offline command Most of the time I'm doing something like this, I'll just do the copying myself. --- Shell/.zshrc | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'Shell') diff --git a/Shell/.zshrc b/Shell/.zshrc index 06b08b4..603e2f2 100644 --- a/Shell/.zshrc +++ b/Shell/.zshrc @@ -90,21 +90,6 @@ gentemplate() { done } -gentemplateoff () { - for var in ${@:2}; do - case $1 in - 'c') cp -r ~/Code/Templates/CTemplate $var;; - 'cpp') cp -r ~/Code/Templates/CPPTemplate $var;; - 'python') cp -r ~/Code/Templates/PythonTemplate $var;; - 'node') cp -r ~/Code/Templates/NodeTemplate $var;; - 'ard') cp -r ~/Code/Templates/ArduinoTemplate $var;; - 'java') cp -r ~/Code/Templates/JavaTemplate $var;; - *) return;; - esac - rm -rf $var/.git; - done -} - ## NVM config export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -- cgit v1.2.3-13-gbd6f