From 8e3dae10feaa8fa354e07dc01dadc4a8e4156c19 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 1 Feb 2020 15:30:32 +0100 Subject: [PATCH] Add global environment variables --- sh/.config/sh/env | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/sh/.config/sh/env b/sh/.config/sh/env index 151fc36..f6ced64 100644 --- a/sh/.config/sh/env +++ b/sh/.config/sh/env @@ -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"