1
1
mirror of https://github.com/jarun/nnn.git synced 2024-09-11 04:55:25 +03:00

Exit cmusq when missing

This commit is contained in:
Luuk van Baal 2021-05-16 23:39:10 +02:00
parent cbc4587630
commit 88eb45944c

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}