1 2 3 4 5 6 7 8
#!/bin/bash if type fish &>/dev/null then exec fish $1 else exec i3-nagbar -m "please install fish to use this script $1" fi