.env
#!/bin/sh # needed for sway if test -z "${XDG_RUNTIME_DIR}"; then export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir if ! test -d "${XDG_RUNTIME_DIR}"; then mkdir "${XDG_RUNTIME_DIR}" chmod 0700 "${XDG_RUNTIME_DIR}" fi fi # launch alacritty with no GPU support if on old thinkpad if [ "$(hostname)" == 'nyx' ]; then export LIBGL_ALWAYS_SOFTWARE=1 fi # bby if [ "$(uname -s)" == "Darwin" ]; then alias cdr='cd $(find ~/git/chef/cloud-roles ~/git/chef/site-cookbooks ~/git/chef/app-cookbooks ~/git/chef/dc-roles -type d -maxdepth 1 | selecta)' alias be='bundle exec' export CHEFUSER="jolson" export CHEF_ENV="browse_test" # just for .chef/config.rb export AWS_ENV="browse_test" # just for aws cli export SSHUSER="jolson" export SSHKEY="~/.ssh/id_rsa" export PASH_CLIP="pbcopy" source /usr/local/share/chruby/chruby.sh chruby ruby-2.6.2 fi