Merge pull request #24 from dmd/patch-1

allow GOTO_DB to be set from environment.

Closes #24.
This commit is contained in:
Lazarus Lazaridis 2018-03-13 15:13:11 +02:00 committed by GitHub
commit 45dbfc4ab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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