aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
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 /bash/bashrc.d
parentMerge branch 'release/v11.4.0' (diff)
parentUpdate PGP key (diff)
downloaddotfiles-5c6971708227032e47ec09f19946f96481dea266.tar.gz
dotfiles-5c6971708227032e47ec09f19946f96481dea266.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 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/keep.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc.d/keep.bash b/bash/bashrc.d/keep.bash
index 2e2424a3..26a84f5b 100644
--- a/bash/bashrc.d/keep.bash
+++ b/bash/bashrc.d/keep.bash
@@ -89,8 +89,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 'bash: %s: %s not a valid NAME\n' \
"${FUNCNAME[0]}" "$name" >&2
((errors++))