# /etc/profile - login shell setup.
#
# PATH: the user's own glacier packages, then non-base system packages
# (/glacier/sys/links), then the base system (/usr/bin; /bin and /sbin
# are links to it). The glacier dirs are listed whether or not they
# exist yet: they appear after `syspkg -n` / `gstore -n`, and a missing
# PATH entry is harmless.
GLACIER_LINKS="/glacier/usr/$(id -u)/links"
GLACIER_SYS_LINKS="/glacier/sys/links"
export PATH="$GLACIER_LINKS/bin:$GLACIER_SYS_LINKS/bin:/usr/bin"
export LD_LIBRARY_PATH="$GLACIER_LINKS/lib:$GLACIER_SYS_LINKS/lib"
unset GLACIER_LINKS GLACIER_SYS_LINKS
export PS1='\h:\w\$ '
umask 022
