diff --git a/dot_bashrc.d/executable_11.motd b/dot_bashrc.d/executable_11.motd index 04083d2..7776ffa 100644 --- a/dot_bashrc.d/executable_11.motd +++ b/dot_bashrc.d/executable_11.motd @@ -4,9 +4,8 @@ # done #fi -if [ -x fastfetch ]; then +if command -v fastfetch 2>&1 >/dev/null; then fastfetch -fi -if [ -x neofetch ]; then +elif command -v neofetch 2>&1 >/dev/null; then neofetch fi