fixed env stuff

master
Michael Ochmann 10 months ago
parent 6f3efe6bc7
commit dc613b1982
  1. 18
      .bashrc

@ -67,6 +67,7 @@ fi
## enabling directory colors if possible
if [ -x /usr/bin/dircolors ] || [ -x /usr/local/bin/gdircolorsi ] || [ -x /opt/homebrew/bin/gdircolors ]
then
# NOTE: you will get dircolors by running `brew install coreutils`
## `dircolors` is called `gdircolors` if installed via homebrew
if [[ "$OSTYPE" == "darwin"* ]]
then
@ -341,17 +342,13 @@ export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0
export TNS_ADMIN=/Users/mochmann/oraclesql
# *ENV STUFF
loadenvs() {
if [ -x /usr/local/bin/anyenv ]
then
# env_tools
if [ -x /usr/local/bin/anyenv ] || [ -x /opt/homebrew/bin/anyenv ]; then
eval "$(anyenv init -)"
fi
if [ -x /usr/local/bin/rbenv ]
then
fi
if [ -x /usr/local/bin/rbenv ]; then
eval "$(rbenv init -)"
fi
}
fi
# ALIASES
alias ll="ls -lisah"
@ -385,8 +382,5 @@ if [ -f "$HOME/.cargo/env" ]
. "$HOME/.cargo/env"
fi
eval "$(anyenv init -)"
#set +x
#exec 2>&3 3>&-

Loading…
Cancel
Save