Merge pull request #41 from Calinou/create-goto-db-if-unexisting

Create the goto database if it doesn't already exist
This commit is contained in:
Lazarus Lazaridis 2018-08-13 07:35:11 +03:00 committed by GitHub
commit abebab5836
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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