Fix a comment.

This commit is contained in:
Sebastian Bugge 2025-01-29 18:19:59 +01:00
parent 6a1ba01ec1
commit 32900fb177
Signed by: kaholaz
GPG key ID: 2EFFEDEE03519691

3
.zshrc
View file

@ -38,8 +38,7 @@ if [ -z "$TMUX" ] && [ -n "$SSH_CONNECTION" ]; then
tmux attach -t Default || tmux new -s Default tmux attach -t Default || tmux new -s Default
fi fi
# Show the weather and a quote on startup
# Attach to a tmux session on startup
if [ -z "$TMUX" ] && [[ "$HAS_NETWORK" == 1 ]]; then if [ -z "$TMUX" ] && [[ "$HAS_NETWORK" == 1 ]]; then
curl -s 'wttr.in/Trondheim?format=%l:+%c%t\n' --max-time 0.5 2> /dev/null curl -s 'wttr.in/Trondheim?format=%l:+%c%t\n' --max-time 0.5 2> /dev/null
echo " ---" echo " ---"