aboutsummaryrefslogtreecommitdiff
path: root/ksh/kshrc.d/keep.ksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2021-07-02 13:33:20 +1200
committerTom Ryder <tom@sanctum.geek.nz>2021-07-02 13:33:20 +1200
commit5c6971708227032e47ec09f19946f96481dea266 (patch)
tree23cfb17d78a26bf3925e76d8d43dbe2a3a8098fc /ksh/kshrc.d/keep.ksh
parentMerge branch 'release/v11.4.0' (diff)
parentUpdate PGP key (diff)
downloaddotfiles-84fc7d5acf93752c9c94df7630357dcc4c41f576.tar.gz (sig)
dotfiles-84fc7d5acf93752c9c94df7630357dcc4c41f576.zip
Merge branch 'release/v11.5.0'v11.5.0
* release/v11.5.0: Update PGP key Update dotfiles(7) manual page Update submodule URLs Define `hide_edge_borders` in i3 config Use different recommended path for checkout Update PGP key Correct Xresources Makefile installation Reduce log level for newsboat reload task Allow dashes in `keep` items Update PGP key fingerprint
Diffstat (limited to 'ksh/kshrc.d/keep.ksh')
-rw-r--r--ksh/kshrc.d/keep.ksh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksh/kshrc.d/keep.ksh b/ksh/kshrc.d/keep.ksh
index f61a7a4d..861e1b2b 100644
--- a/ksh/kshrc.d/keep.ksh
+++ b/ksh/kshrc.d/keep.ksh
@@ -100,8 +100,8 @@ EOF
case $name in
# NAME must start with letters or an underscore, and contain no
- # characters besides letters, numbers, or underscores
- *[!a-zA-Z0-9_]*|[!a-zA-Z_]*)
+ # characters besides letters, numbers, underscores, or dashes
+ [!a-zA-Z_]*|*[!a-zA-Z0-9_-]*)
printf 'ksh: %s: %s not a valid NAME\n' \
"$self" "$name" >&2
((errors++))