aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/keep.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/keep.bash b/bash/bashrc.d/keep.bash
index 85455824..a13fec12 100644
--- a/bash/bashrc.d/keep.bash
+++ b/bash/bashrc.d/keep.bash
@@ -90,7 +90,7 @@ EOF
# NAME must start with letters or an underscore, and contain no
# characters besides letters, numbers, or underscores
- *[^a-zA-Z0-9_]*|[^a-zA-Z_]*)
+ *[!a-zA-Z0-9_]*|[!a-zA-Z_]*)
printf 'bash: %s: %s not a valid NAME\n' \
"${FUNCNAME[0]}" "$name" >&2
((errors++))