diff --git a/misc.aliases b/misc.aliases index 840c169..f9692a2 100644 --- a/misc.aliases +++ b/misc.aliases @@ -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'