]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - tests/lib.sh.test
Add installed() function to check if a program exists.
[config/dotfiles.git] / tests / lib.sh.test
1
2
3 . ../lib.sh
4
5 # Tests for installed().
6 installed which && echo which installed
7 installed doesnt-exist && echo doesnt-exist installed