Skip to content

Commit

Permalink
Add warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ggs committed Dec 8, 2023
1 parent 36ee90f commit 70772b4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions zsh/.zprofile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ if [[ "$(uname)" = "Darwin" ]]; then
export PATH=/usr/local/bin:${PATH}
eval "$(/usr/local/bin/brew shellenv)"
echo "Loaded amd64 macOS Homebrew"
else
echo "WARN: Homebrew not loaded"
fi

# OrbStack
if [[ -d "$HOME/.orbstack" ]]; then
source ~/.orbstack/shell/init.zsh 2>/dev/null || :
echo "Loaded OrbStack"
else
echo "WARN: OrbStack not loaded"
fi
fi

Expand All @@ -21,9 +25,13 @@ if [[ -d "$HOME/.pyenv" ]]; then
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
echo "Loaded pyenv via $PYENV_ROOT"
else
echo "WARN: pyenv not loaded"
fi

if [[ -d "$HOME/.cargo" ]]; then
. "$HOME/.cargo/env"
echo "Loaded cargo via $HOME/.cargo"
else
echo "WARN: cargo not loaded"
fi
6 changes: 6 additions & 0 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ if [[ -d "$HOME/.fnm" ]] || [[ -f /opt/homebrew/bin/fnm ]]; then
export PATH="$HOME/.fnm:$PATH"
eval "$(fnm env --use-on-cd)"
echo "Loaded fnm via $HOME/.fnm"
else
echo "WARN: fnm loaded"
fi


Expand All @@ -89,6 +91,8 @@ fi
if [ -f "$HOME/.private.zshrc" ]; then
source "$HOME/.private.zshrc"
echo "Loaded private zshrc"
else
echo "WARN: private zshrc not loaded"
fi


Expand All @@ -98,6 +102,8 @@ if [[ -d "$HOME/.keychain" ]]; then
keychain --nogui -q $HOME/.ssh/id_ed25519
source $HOME/.keychain/$(hostname)-sh
echo "Loaded keychain"
else
echo "WARN: keychain"
fi


Expand Down

0 comments on commit 70772b4

Please sign in to comment.