diff options
author | AChavali <aryadevchavali1@gmail.com> | 2020-02-17 13:19:40 +0000 |
---|---|---|
committer | AChavali <aryadevchavali1@gmail.com> | 2020-02-17 13:19:40 +0000 |
commit | abb4226d71172ee50f0dfffc80d0412c22afdb2e (patch) | |
tree | 97a258ec5f212da7afb914f025aadf18936a6412 | |
parent | 10c0f0a157bf29b1d5a945016fd50e9120194a1a (diff) | |
download | dotfiles-abb4226d71172ee50f0dfffc80d0412c22afdb2e.tar.gz dotfiles-abb4226d71172ee50f0dfffc80d0412c22afdb2e.tar.bz2 dotfiles-abb4226d71172ee50f0dfffc80d0412c22afdb2e.zip |
+new java template so update gentemplates
-rw-r--r-- | doom.d/modules/gentemplate.org | 2 | ||||
-rw-r--r-- | zshenv | 27 |
2 files changed, 16 insertions, 13 deletions
diff --git a/doom.d/modules/gentemplate.org b/doom.d/modules/gentemplate.org index a471803..dfaacc9 100644 --- a/doom.d/modules/gentemplate.org +++ b/doom.d/modules/gentemplate.org @@ -6,7 +6,7 @@ Generate templates from my set on Github or on computer currently. * List of templates Make a list of possible templates for my system to use #+BEGIN_SRC elisp -(setq oreodave/templates/template-list (list "CTemplate" "CPPTemplate" "PythonTemplate" "NodeTemplate" "ArduinoTemplate")) +(setq oreodave/templates/template-list (list "CTemplate" "CPPTemplate" "PythonTemplate" "NodeTemplate" "ArduinoTemplate" "JavaTemplate")) #+END_SRC * Find if online or not Function which checks that the network connections are = 1. If only one network @@ -1,6 +1,7 @@ # zshenv -*- mode: sh; lexical-binding: t; -*- # Important variables -export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:~/.local/bin:~/bin/binaries:~/.emacs.d/bin:~/.cargo/bin +bindkey -v +export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:~/.local/Bin:~/bin/binaries:~/.emacs.d/bin:~/.cargo/bin export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true export DOTNET_CLI_TELEMTRY_OPTOUT=1 export PF_INFO="ascii title os memory uptime editor shell" @@ -26,6 +27,7 @@ gentemplate() { 'python') git clone https://github.com/Oreodave/PythonTemplate $var;; 'node') git clone https://github.com/Oreodave/NodeTemplate $var;; 'ard') git clone https://github.com/Oreodave/ArduinoTemplate $var;; + 'java') git clone https://github.com/Oreodave/JavaTemplate $var;; *) return;; esac rm -rf $var/.git; @@ -34,15 +36,16 @@ gentemplate() { 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;; - *) return;; - esac - rm -rf $var/.git; + 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 } @@ -55,8 +58,8 @@ web () { firefox $1 > /dev/null & disown } -😂() { - web "https://youtu.be/qMc6xlZaxYA" +important-work-stuff() { + bash ~/Scripts/roll.sh } |