Updated environment variable format

This commit is contained in:
Wryn Wagner
2021-02-24 15:29:07 -07:00
parent 4e4cd94784
commit 60c8bd1711
4 changed files with 14 additions and 35 deletions

17
env/env.zsh vendored
View File

@ -1,17 +0,0 @@
#!/bin/zsh
# Default zsh environment
RD_PATH="$HOME/RentDynamics"
SCHOOL_DIR="$HOME/School"
DOTWRYN="$HOME/.wryn"
# ordered from least-preferred to most-preferred
PREFERRED_EDITOR=(vi vim)
LOCAL_OVERRIDES="$HOME/.config/wryn/env.zsh"
[ -f "$LOCAL_OVERRIDES" ] \
&& source "$LOCAL_OVERRIDES" \
|| {
touch $LOCAL_OVERRIDES \
&& echo '#!/bin/zsh' > $LOCAL_OVERRIDES \
&& echo '# Local overrides of .wryn environment variables '>> $LOCAL_OVERRIDES
}