warnings: add warnings when something what is recommended by shell-things is missing.

To be sourced by bashrc & zshrc
This commit is contained in:
Mika Suomalainen 2012-07-14 20:21:48 +03:00
parent 52a491d65e
commit 1b43820f72

8
warnings Normal file
View File

@ -0,0 +1,8 @@
command -v vim >/dev/null 2>&1 || { echo >&2 "WARNING: vim isn't installed!"; }
command -v most >/dev/null 2>&1 || { echo >&2 "WARNING: most isn't installed!"; }
command -v htop >/dev/null 2>&1 || { echo >&2 "WARNING: htop isn't installed!"; }
command -v youtube-dl >/dev/null 2>&1 || { echo >&2 "WARNING: youtube-dl isn't installed!"; }
command -v nping >/dev/null 2>&1 || { echo >&2 "WARNING: nping isn't installed!"; }
command -v aptitude >/dev/null 2>&1 || { echo >&2 "WARNING: aptitude isn't installed!"; }
command -v gpg2 >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg2 isn't installed!"; }
command -v lynx >/dev/null 2>&1 || { echo >&2 "WARNING: lynx isn't installed!"; }