Browse Source

stuff

master
Taylor Bockman 2 years ago
parent
commit
04863064ed
  1. 14
      dotfiles/bash/bash_profile
  2. 9
      dotfiles/bash/bashrc

14
dotfiles/bash/bash_profile

@ -1,3 +1,5 @@
#!/usr/bin/bash
if [[ -f ~/.bashrc ]]; then
source ~/.bashrc
fi
@ -11,10 +13,12 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
fi
if hash pyenv 2>/dev/null; then
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
fi
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env
# Local bin
export PATH=$HOME/bin:/usr/local/bin:$PATH
test -r /home/vm/.opam/opam-init/init.sh && . /home/vm/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true

9
dotfiles/bash/bashrc

@ -188,6 +188,15 @@ then
fi
fi
#########
# Other functions
#########
aws-sso () {
aws sso login --profile $1
aws2-wrap --profile $1 --exec "~/aws-save-creds"
}
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"

Loading…
Cancel
Save