Remove bloat.

This commit is contained in:
Sebastian Bugge 2025-04-01 11:53:56 +02:00
parent f1c76040cb
commit 02203fbaad
Signed by: kaholaz
GPG key ID: 2EFFEDEE03519691
2 changed files with 3 additions and 17 deletions

View file

@ -48,10 +48,4 @@ fi
[ -d "$HOME/.asdf" ] && export PATH="$HOME/.asdf/shims:$PATH"
export PATH="$PATH:/home/kaholaz/.cache/scalacli/local-repo/bin/scala-cli"
# >>> coursier install directory >>>
export PATH="$PATH:/home/kaholaz/.local/share/coursier/bin"
# <<< coursier install directory <<<
if [ -e /home/kaholaz/.nix-profile/etc/profile.d/nix.sh ]; then . /home/kaholaz/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer

14
.zshrc
View file

@ -26,23 +26,15 @@ zplug "plugins/git", from:oh-my-zsh
zplug "plugins/command-not-found", from:oh-my-zsh
zplug load
if dig google.com +timeout=1 >/dev/null 2>&1; then;
HAS_NETWORK=1
else
echo "No internet connection detected!"
HAS_NETWORK=0
fi
# Attach to a tmux session on startup
if [ -z "$TMUX" ] && [ -n "$SSH_CONNECTION" ]; then
tmux attach -t Default || tmux new -s Default
fi
# Show the weather and a quote on startup
if [ -z "$TMUX" ] && [[ "$HAS_NETWORK" == 1 ]]; then
curl -s 'wttr.in/Trondheim?format=%l:+%c%t\n' --max-time 0.5 2> /dev/null
echo " ---"
# Show a quote on startup
if [ -z "$TMUX" ]; then
fortune -s
echo " ---"
fi
export NVM_DIR="$HOME/.nvm"