mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 03:41:27 +00:00
Exit cmusq when missing
This commit is contained in:
parent
cbc4587630
commit
88eb45944c
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue