Add fastfetch as motd of zsh #31

Merged
armel merged 1 commits from feature/fastfetch-motd into master 2026-01-31 22:40:42 +01:00
Showing only changes of commit 2cad286227 - Show all commits

View File

@@ -11,6 +11,14 @@
initContent = ''
# Use kitty's ssh helper if running inside kitty
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
[[ $- != *i* ]] && return
# Run fastfetch
if command -v fastfetch >/dev/null 2>&1; then
fastfetch
fi
'';
};
}