From 74af9ef9cc33c8f5a558be07adf9723f796cb821 Mon Sep 17 00:00:00 2001 From: Lazarus Lazaridis Date: Tue, 6 Mar 2018 22:25:04 +0200 Subject: [PATCH] Update goto.bash --- goto.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goto.bash b/goto.bash index 77f0e80..ee52e2c 100644 --- a/goto.bash +++ b/goto.bash @@ -102,7 +102,7 @@ function _goto_register_alias() fi if ! [[ $1 =~ ^[[:alnum:]]+[a-zA-Z0-9_-]*$ ]]; then - _goto_error "invalid alias - only alphabetic with numbers, hyphens, and underscores. Can only start with letters and numbers." + _goto_error "invalid alias - can start with alphanumeric followed by alphanumeric, dashes or hyphens" return fi