Better error message for vim. Close #112

This commit is contained in:
Carlos Fenollosa 2016-10-24 15:33:43 +02:00
parent 5e70713e85
commit 2f598c14b8
1 changed files with 1 additions and 1 deletions

2
bb.sh
View File

@ -1110,7 +1110,7 @@ do_main() {
# Check for $EDITOR
[[ -z $EDITOR ]] &&
echo "Please set your \$EDITOR environment variable" && exit
echo "Please set your \$EDITOR environment variable. For example, to use nano, add the line 'export EDITOR=nano' to your \$HOME/.bashrc file" && exit
# Check for validity of argument
[[ $1 != "reset" && $1 != "post" && $1 != "rebuild" && $1 != "list" && $1 != "edit" && $1 != "delete" && $1 != "tags" ]] &&