From 2728101a75c50186fe1cc5d012b061c1fc35ffd0 Mon Sep 17 00:00:00 2001 From: AChavali Date: Sun, 9 Feb 2020 15:12:28 +0000 Subject: ~gentemplate Moved around a few sections for a more flowing summary. Changed generate-template to only download a template if it hasn't already been copied --- zshenv | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'zshenv') diff --git a/zshenv b/zshenv index 6650d21..957b833 100644 --- a/zshenv +++ b/zshenv @@ -39,11 +39,11 @@ gentemplate() { gentemplateoff () { for var in ${@:2}; do case $1 in - 'c') cp -r ~/Projects/Templates/CTemplate $var;; - 'cpp') cp -r ~/Projects/Templates/CPPTemplate $var;; - 'python') cp -r ~/Projects/Templates/PythonTemplate $var;; - 'node') cp -r ~/Projects/Templates/NodeTemplate $var;; - 'ard') cp -r ~/Projects/Templates/ArduinoTemplate $var;; + '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;; *) return;; esac rm -rf $var/.git; -- cgit v1.2.3-13-gbd6f