Merge pull request #1017 from luukvbaal/cmusq

Exit cmusq when missing
This commit is contained in:
Piña Colada 2021-05-17 08:57:07 +05:30 committed by GitHub
commit 9a949b7c33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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