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

Loading…
Cancel
Save