[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-109-ge6bef77

Igor Murzov e-mail at date.by
Tue Dec 20 21:07:35 UTC 2011


The following commit has been merged in the master branch:
commit 15f5c80c2e13e23b76d8d92c0dffcb15acc654d3
Author: Igor Murzov <e-mail at date.by>
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



More information about the Bash-completion-commits mailing list