allow GOTO_DB to be set from environment.

To resolve #14.
This commit is contained in:
Daniel M. Drucker 2018-03-13 08:59:32 -04:00 committed by GitHub
parent f229658484
commit 044ed5775c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ goto()
_goto_resolve_db()
{
GOTO_DB="$HOME/.goto"
GOTO_DB="${GOTO_DB:-$HOME/.goto}"
}
_goto_usage()