aboutsummaryrefslogtreecommitdiff
path: root/zshenv
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-07-12 23:06:51 +0100
committeroreodave <aryadevchavali1@gmail.com>2019-07-12 23:06:51 +0100
commit7bb9151d5070024c34e7a98cdece648e3ccd332a (patch)
tree801b991f198238716768bb94d2f8eee485bd12a1 /zshenv
downloaddotfiles-7bb9151d5070024c34e7a98cdece648e3ccd332a.tar.gz
dotfiles-7bb9151d5070024c34e7a98cdece648e3ccd332a.tar.bz2
dotfiles-7bb9151d5070024c34e7a98cdece648e3ccd332a.zip
Added dotfiles for spacemacs, tmux, vim and zsh
Diffstat (limited to 'zshenv')
-rw-r--r--zshenv54
1 files changed, 54 insertions, 0 deletions
diff --git a/zshenv b/zshenv
new file mode 100644
index 0000000..dc59d2f
--- /dev/null
+++ b/zshenv
@@ -0,0 +1,54 @@
+# Important variables
+export PATH=~/Scripts:~/bin/gradle/gradle-5.3.1/bin:~/bin/Sass/:$PATH
+export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
+export DOTNET_CLI_TELEMTRY_OPTOUT=1
+alias yapf='python3 -m yapf'
+alias clip="xclip -sel clip"
+alias paste="xclip -o"
+export force_color_prompt=yes
+
+# Memes
+
+😂() {
+ web https://youtu.be/dQw4w9WgXcQ
+}
+
+🎼() {
+ web 'https://music.youtube.com/playlist?list=PLGiMeh8b7cMRKTUEaLo1GkYIHtEhof2wF'
+}
+
+🚂() {
+ while true
+ do
+ sl
+ done
+}
+
+# Programming
+
+SPC() {
+ emacs $1 & disown > /dev/null;
+}
+
+gentemplate() {
+ case $1 in
+ 'c') git clone https://github.com/Oreodave/CTemplate $2;;
+ 'cpp') git clone https://github.com/Oreodave/CPPTemplate $2;;
+ 'python') git clone https://github.com/Oreodave/PythonTemplate $2;;
+ 'node') git clone https://github.com/Oreodave/NodeTemplate $2;;
+ *) return;;
+ esac
+}
+
+# Web Querying
+search () {
+ search_query=${1// /_}
+ web "duckduckgo.com/$search_query"
+}
+
+web () {
+ firefox $1 > /dev/null & disown
+}
+
+# OPAM configuration
+. /home/oreodave/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true