Browse Source

Better error message for $EDITOR. Close #112

pull/124/head
Carlos Fenollosa 5 years ago
parent
commit
6222672817
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bb.sh

+ 1
- 1
bb.sh View File

@ -1151,7 +1151,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" ]] &&


Loading…
Cancel
Save