From 8aa08c36abfb27552b1574df33c093a54e77e6cd Mon Sep 17 00:00:00 2001 From: Lazarus Lazaridis Date: Tue, 6 Mar 2018 22:30:05 +0200 Subject: [PATCH] Shorten message. --- goto.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goto.bash b/goto.bash index ee52e2c..dcae018 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 - can start with alphanumeric followed by alphanumeric, dashes or hyphens" + _goto_error "invalid alias - can start with letters or digits followed by letters, digits, hyphens or underscores" return fi