diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 4ea7f708b..3e52e4e25 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -6,7 +6,7 @@ Copyright (c) 2002-2024 Various contributors (see below, and AUTHORS.txt) https://tuxpaint.org/ -2024.June.6 (0.9.33) +2024.June.11 (0.9.33) * New Magic Tools: ---------------- * Dither & Dither (Keep Color): Replaces all or part of a drawing @@ -109,6 +109,11 @@ https://tuxpaint.org/ * Make screen refresh more snappy on macOS. Mark Kim + * Replace `have` with `_have` in Tux Paint's BASH completion script. + Closes https://sourceforge.net/p/tuxpaint/bugs/290/ + (h/t Jozef Riha for reporting) + Bill Kendrick + * Ports & Building: ----------------- * Simplify the process of building the universal bundle on the macOS by diff --git a/src/tuxpaint-completion.bash b/src/tuxpaint-completion.bash index 677e547f8..19e4df858 100644 --- a/src/tuxpaint-completion.bash +++ b/src/tuxpaint-completion.bash @@ -3,7 +3,7 @@ # Bill Kendrick ; https://tuxpaint.org/ # Based on inkscape's completion file, by allali@univ-mlv.fr # -# Last modified 2024-06-02 +# Last modified 2024-06-11 # # $Id$ @@ -16,7 +16,7 @@ # a way to hint to the user, and allow completion, for values after the "=" # -bjk 2023.12.29 -have tuxpaint && +_have tuxpaint && _tuxpaint() { local cur @@ -126,4 +126,4 @@ _tuxpaint() fi } -[ "${have:-}" ] && complete -F _tuxpaint $filenames tuxpaint +complete -F _tuxpaint $filenames tuxpaint