From ae2c3b908470e8e98133cf0adedb0c62a36c6bc2 Mon Sep 17 00:00:00 2001 From: Jeff Cave Date: Mon, 5 Mar 2018 19:54:14 -0500 Subject: [PATCH] updated error message for invalid name on register --- goto.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goto.bash b/goto.bash index 6c2031a..04c6c80 100644 --- a/goto.bash +++ b/goto.bash @@ -102,7 +102,7 @@ function _goto_register_alias() fi if ! [[ $1 =~ ^[a-zA-Z0-9_-]*$ ]]; then - _goto_error "invalid alias - only alphabetic with numbers" + _goto_error "invalid alias - only alphabetic with numbers, hyphens, and underscores" return fi