Add global environment variables

This commit is contained in:
Marty Oehme 2020-02-01 15:30:32 +01:00
parent 3aed80e072
commit 8e3dae10fe

View file

@ -13,5 +13,33 @@ export PATH="$PATH:$XDG_BIN_HOME"
## BEGIN GLOBAL ENV VARS ##
###############################
###############################
## BEGIN GLOBAL ENV VARS ##
###############################
# if we forgot to set it treat bash as default
export SHELL=${SHELL:-/bin/bash}
# will be picked up by many programs as notes directory
export WIKIROOT="${WIKIROOT:-$HOME/documents/notes}"
# will be picked up by many programs as library root directory
export LIBRARYROOT="${LIBRARYROOT:-$HOME/documents/library}"
# the default bibtex file to work on
# will change over time as primary projects change
# basically functions as 'default library' variable
export BIBFILE="${BIBFILE:-$LIBRARYROOT/academia/academia.bib}"
# these are my personal 'important' application settings
export EDITOR=nvim
export BROWSER=qutebrowser
export TERMINAL="alacritty"
export PAGER="less"
export FILEREADER="zathura"
export FILEMANAGER="vifm"
## gopath
export GOPATH="$HOME/projects/gopath/"
export PATH="$PATH:$GOPATH/bin"