aboutsummaryrefslogtreecommitdiff
path: root/zshenv
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2020-02-09 15:12:28 +0000
committerAChavali <aryadevchavali1@gmail.com>2020-02-09 18:27:10 +0000
commit2728101a75c50186fe1cc5d012b061c1fc35ffd0 (patch)
treef518a6c84b06a4879bb163ba0f780ff0af69a10d /zshenv
parentb1604d95321736958ea0955b4281036ab40844fd (diff)
downloaddotfiles-2728101a75c50186fe1cc5d012b061c1fc35ffd0.tar.gz
dotfiles-2728101a75c50186fe1cc5d012b061c1fc35ffd0.tar.bz2
dotfiles-2728101a75c50186fe1cc5d012b061c1fc35ffd0.zip
~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
Diffstat (limited to 'zshenv')
-rw-r--r--zshenv10
1 files changed, 5 insertions, 5 deletions
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;