diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-12 19:48:01 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-12 19:48:01 +0100 |
commit | 6885c76c37e3ec0f99f69d992fbaba118c507848 (patch) | |
tree | a683ad8a0d09830ffed1c0f5d9b75e469ff274a8 /Shell | |
parent | 9f5a17b6838dff02c386d3d4afe8d27b5428fc50 (diff) | |
download | dotfiles-6885c76c37e3ec0f99f69d992fbaba118c507848.tar.gz dotfiles-6885c76c37e3ec0f99f69d992fbaba118c507848.tar.bz2 dotfiles-6885c76c37e3ec0f99f69d992fbaba118c507848.zip |
-gentemplate offline command
Most of the time I'm doing something like this, I'll just do the copying myself.
Diffstat (limited to 'Shell')
-rw-r--r-- | Shell/.zshrc | 15 |
1 files changed, 0 insertions, 15 deletions
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 |