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