about summary refs log tree commit diff
path: root/configs/shared/zsh/variables.zsh
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-18T14·14+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-18T14·14+0000
commitf7b3e0a7a92903307ef1f4c66992721be6e01e08 (patch)
tree11f1959ee6dc34d2f8b20e6425cbb85700b55c63 /configs/shared/zsh/variables.zsh
parentbf33edaa6efbf3572d9335bb07b530af249de0d2 (diff)
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.

There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.

This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.

This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
Diffstat (limited to 'configs/shared/zsh/variables.zsh')
-rw-r--r--configs/shared/zsh/variables.zsh33
1 files changed, 25 insertions, 8 deletions
diff --git a/configs/shared/zsh/variables.zsh b/configs/shared/zsh/variables.zsh
index 5e8e67ed0221..40611805ad8a 100644
--- a/configs/shared/zsh/variables.zsh
+++ b/configs/shared/zsh/variables.zsh
@@ -1,20 +1,19 @@
-export TERMINAL=urxvtc
-export EDITOR=emacsclient
-export ALTERNATE_EDITOR=nvim
 export GPG_TTY=$(tty) # "It is important that this environment variable always reflects the output of the tty command". Source: https://gnupg.org/documentation/manuals/gnupg-devel/Invoking-GPG_002dAGENT.html
 
-BROWSER=google-chrome
-NIXIFY="$HOME/programming/nixify"
-DATE_FMT=%b-%d-%Y_%T # my preferred date formatting string used for generated filename
+date_fmt=%b-%d-%Y_%T # my preferred date formatting string used for generated filename
 
 # ZSH's static named directories
 hash -d pro=~/programming
-hash -d dot=~/programming/dotfiles
+hash -d dot="$DOTFILES"
 hash -d citc=/google/src/cloud/$USER
 hash -d doc=~/Documents
 hash -d d=~/Downloads
 hash -d ss=~/Pictures/screenshots
-hash -d org=~/Documents/org
+hash -d fonts="$DOTFILES/configs/linux/misc/.local/share/fonts"
+hash -d sounds="$DOTFILES/configs/linux/misc/.local/share/sounds"
+hash -d wallpaper="$DOTFILES/configs/linux/misc/.local/share/wallpaper"
+hash -d org="$ORG_DIRECTORY"
+hash -d x20=/google/data/rw/users/wp/wpcarro # remember: to access x20, you need to run `prodaccess`
 # named directories for commonly used projects
 hash -d korvus_framework=./java/com/google/corp/sales
 hash -d korvus_services=./corp/sales/casesautomation
@@ -23,6 +22,24 @@ hash -d ultra=./ads/doubleclick/systems/crm
 hash -d incentives_fe=./experimental/adservices/jarvis/jarvis_extension/jarvis_staging/js
 hash -d incentives_be=./experimental/adservices/tesseract/handlers/incentives
 
+# 8-bit colors
+black='\u001b[30m'
+red='\u001b[31m'
+green='\u001b[32m'
+yellow='\u001b[33m'
+blue='\u001b[34m'
+magenta='\u001b[35m'
+cyan='\u001b[36m'
+white='\u001b[37m'
+bright_black='\u001b[30;1m'
+bright_red='\u001b[31;1m'
+bright_green='\u001b[32;1m'
+bright_yellow='\u001b[33;1m'
+bright_blue='\u001b[34;1m'
+bright_magenta='\u001b[35;1m'
+bright_cyan='\u001b[36;1m'
+bright_white='\u001b[37;1m'
+
 # commonly used config files
 v="$HOME/.config/nvim/init.vim"
 e="$HOME/.emacs.d/init.el"