The following commit has been merged in the master branch:
commit 15f5c80c2e13e23b76d8d92c0dffcb15acc654d3
Author: Igor Murzov <[email protected]>
Date:   Wed Dec 21 00:56:34 2011 +0400

    Revert "route: Don't check $OSTYPE (Alioth: #311407)."
    
    This reverts commit dab2f3c5519d01902e795e583b0546eb30bd04c7.
    It broke at least FreeBSD route completion.

diff --git a/completions/route b/completions/route
index aafc7f7..40d4f49 100644
--- a/completions/route
+++ b/completions/route
@@ -1,5 +1,7 @@
 # Linux route(8) completion                                -*- shell-script -*-
 
+[[ $OSTYPE == *linux* ]] || return 1
+
 _route()
 {
     local cur prev words cword

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits

Reply via email to