warn if neofetch not installed

This commit is contained in:
deathbybandaid 2022-02-01 15:03:35 -05:00
parent c04cf69d4b
commit 1737015e45

View File

@ -8,6 +8,15 @@ alias jctlerr='journalctl -p 3 -xb'
# Clear screen and show neofetch
alias neo='clear && neofetch'
neo ()
{
if which neofetch >/dev/null;
then
clear && neofetch
else
echo "neofetch not found in PATH"
fi
}
# Find Pids of process
alias pidfind='ps auxww | grep'