# -*- shell-script -*- # Test if this is a GuixSD system. function guixsd() { return `test -d /run/current-system` } export -f guixsd # Test if this is my VHL workstation function vhl() { return `test $(hostname) == "7VWJD42"` } export -f vhl # Honor per-interactive-shell startup file if [ -f ~/.bashrc ]; then . ~/.bashrc; fi export EDITOR=emacsclient if [ -f $HOME/.guix-profile/etc/profile ] then source $HOME/.guix-profile/etc/profile fi # Extra configuration needed for work machine. if vhl then source /etc/profile.d/rvm.sh export GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt fi export PATH="$HOME/.config/guix/current/bin${PATH:+:}$PATH" export AWS_REGION="us-east-1" if [ -f $HOME/.bash_profile.local ] then source $HOME/.bash_profile.local fi