From 1d99fccc0f62f146faea9d351d67ffb3060e202d Mon Sep 17 00:00:00 2001 From: Melon Bread Date: Mon, 31 Jan 2022 18:52:24 -0500 Subject: [PATCH] Perfer fastfetch over neofetch in installed --- .zshrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index d846cc3..4c0a012 100644 --- a/.zshrc +++ b/.zshrc @@ -130,4 +130,9 @@ export PATH="$PATH:$HOME/.cargo/bin" #StarShip prompt eval "$(starship init zsh)" -neofetch +# Run fastfetch if it exist, otherwise neofetch +if type fastfetch >/dev/null 2>&1; then + fastfetch +else + neofetch +fi