warn if neofetch not installed
This commit is contained in:
parent
c04cf69d4b
commit
1737015e45
@ -8,6 +8,15 @@ alias jctlerr='journalctl -p 3 -xb'
|
|||||||
|
|
||||||
# Clear screen and show neofetch
|
# Clear screen and show neofetch
|
||||||
alias neo='clear && 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
|
# Find Pids of process
|
||||||
alias pidfind='ps auxww | grep'
|
alias pidfind='ps auxww | grep'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user