Exit cmusq when missing

This commit is contained in:
Luuk van Baal 2021-05-16 23:39:10 +02:00
parent cbc4587630
commit 88eb45944c
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@
if ! type cmus >/dev/null; then
printf "cmus missing"
read -r _
exit 1
fi
selection=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection}