Perfer fastfetch over neofetch in installed

This commit is contained in:
Rain Clark 2022-01-31 18:52:24 -05:00
parent 5a51366ed7
commit 1d99fccc0f

7
.zshrc
View File

@ -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