options printout on wrong bt edit

This commit is contained in:
Alexander Bocken 2021-08-23 16:46:27 +02:00
parent ecc1a74b37
commit 2dac28b97f
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

4
bt
View File

@ -58,9 +58,9 @@ if [ "$1" = "edit" ]; then
case $2 in case $2 in
"config")${EDITOR:-vim} "$CONFIG";; "config")${EDITOR:-vim} "$CONFIG";;
"paired")${EDITOR:-vim} "$PAIRLIST";; "paired")${EDITOR:-vim} "$PAIRLIST";;
"blacklist")${EDITOR:-vim} "$BLACKLIST";;
"alias")${EDITOR:-vim} "$ALIASLIST";; "alias")${EDITOR:-vim} "$ALIASLIST";;
*)true;; "blacklist")${EDITOR:-vim} "$BLACKLIST";;
*)echo "options: config/paired/alias/blacklist" && exit 1;;
esac esac
exit exit
fi fi