aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2020-02-17 13:19:40 +0000
committerAChavali <aryadevchavali1@gmail.com>2020-02-17 13:19:40 +0000
commitabb4226d71172ee50f0dfffc80d0412c22afdb2e (patch)
tree97a258ec5f212da7afb914f025aadf18936a6412
parent10c0f0a157bf29b1d5a945016fd50e9120194a1a (diff)
downloaddotfiles-abb4226d71172ee50f0dfffc80d0412c22afdb2e.tar.gz
dotfiles-abb4226d71172ee50f0dfffc80d0412c22afdb2e.tar.bz2
dotfiles-abb4226d71172ee50f0dfffc80d0412c22afdb2e.zip
+new java template so update gentemplates
-rw-r--r--doom.d/modules/gentemplate.org2
-rw-r--r--zshenv27
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
diff --git a/zshenv b/zshenv
index 885fa56..5eee1bc 100644
--- a/zshenv
+++ b/zshenv
@@ -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
}