-
Notifications
You must be signed in to change notification settings - Fork 1
/
.zprofile
28 lines (24 loc) · 892 Bytes
/
.zprofile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
if [ "$(yadm config --get local.class)" = "WORK" ]; then
day_job=true
else
day_job=false
fi
if [ $day_job = true ]; then
export PATH="$PATH:/Applications/SnowSQL.app/Contents/MacOS"
# export JAVA_HOME=/usr/local/Cellar/openjdk@11/11.0.12/libexec/openjdk.jdk/Contents/Home
# https://github.com/immuta/bodata#getting-started-continued
sudo ifconfig lo0 alias 10.0.2.2
else
# i don't think this is necessary because the same thing is in /etc/profile.d/guix.sh
# but the docs say to add it :shrug:
GUIX_PROFILE="$HOME/.guix-profile"
if [[ -f "$GUIX_PROFILE" ]]; then
. "$GUIX_PROFILE/etc/profile"
fi
# docs say to add this to. it's not present in /etc/profile.d/guix.sh.
GUIX_PROFILE="$HOME/.config/guix/current"
if [[ -f "$GUIX_PROFILE" ]]; then
. "$GUIX_PROFILE/etc/profile"
fi
fi
export PATH="$PATH:$HOME/.local/bin"