diff options
author | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2016-10-24 11:41:30 +0200 |
---|---|---|
committer | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2016-10-24 11:41:30 +0200 |
commit | 62226728172a6f1fa29ee3d5bd7364966fcc795d (patch) | |
tree | 239d43645f200185aa9333e077dfd9a4dd1a868e | |
parent | 36d79b5cdd01f145bb8fc523f04f7e3d312e524d (diff) |
Better error message for $EDITOR. Close #112
-rwxr-xr-x | bb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" ]] && |