commit b1db663d99255e2223530c84f53fbdadf2035dce
Author: Pavel Sanda <[email protected]>
Date:   Sat Mar 26 11:16:38 2022 +0100

    * bash_completion - outdated syntax
    
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008257
---
 lib/scripts/bash_completion |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/scripts/bash_completion b/lib/scripts/bash_completion
index 868884c..4d7b914 100644
--- a/lib/scripts/bash_completion
+++ b/lib/scripts/bash_completion
@@ -1,7 +1,7 @@
 # lyx(1) completion 
 # Copyleft 2010 Cengiz Gunay <[email protected]>
 
-have lyx &&
+_have lyx &&
 _lyx()
 {
         local cur g last
@@ -65,5 +65,4 @@ _lyx()
        # turn it off if necessary
        test $g -eq 0 && shopt -u extglob
 
-}
-[ "${have:-}" ] && complete -F _lyx $filenames lyx
+} && complete -F _lyx $filenames lyx
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to