Avoid warning about sys/sysctl.h on glibc-2.30.
[paraslash.git] / bash_completion
index 7f1aecb63896d95df86a1d28b1ddebfea7865ae0..88b37dc28fb0dc175f48ac9fa364f26a434bedde 100644 (file)
@@ -1,7 +1,4 @@
-# Copyright (C) 2007-2014 Andre Noll <maan@tuebingen.mpg.de>
-#
-# Licensed under the GPL v2. For licencing details see COPYING.
-
+# Copyright (C) 2007 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING.
 _para_complete()
 {
        local prg="$1" # the program to execute
@@ -9,10 +6,6 @@ _para_complete()
        local line="$COMP_LINE" OLD_IFS="$IFS"
        local opts n
 
-       if [[ "$COMP_WORDBREAKS" != ' '  ]]; then
-               COMP_WORDBREAKS=' '
-               return 124 # try again with proper value
-       fi
        # This extracts short and long options from the help output
        local script='{
                if ($1 ~ "-[a-zA-Z]," && $2 ~ "--[a-zA-Z]") {