diff options
author | AChavali <aryadevchavali1@gmail.com> | 2020-02-09 15:12:28 +0000 |
---|---|---|
committer | AChavali <aryadevchavali1@gmail.com> | 2020-02-09 18:27:10 +0000 |
commit | 2728101a75c50186fe1cc5d012b061c1fc35ffd0 (patch) | |
tree | f518a6c84b06a4879bb163ba0f780ff0af69a10d /zshenv | |
parent | b1604d95321736958ea0955b4281036ab40844fd (diff) | |
download | dotfiles-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-- | zshenv | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; |