commit b851c04d3e8018023fdf1f696d0268fdd0695074 parent 92807e1053ca34881b2115ad078a26168dfe5bbd Author: Chris Down <chris@chrisdown.name> Date: Sat, 22 Aug 2015 19:40:59 +0100 Set nullglob to avoid "bad array subscript" when no files exist Diffstat:
M | clipmenu | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/clipmenu b/clipmenu @@ -1,5 +1,7 @@ #!/bin/bash +shopt -s nullglob + LC_COLLATE=C # Some people copy/paste huge swathes of text that could slow down dmenu