[Bash-completion-commits] [SCM] bash-completion branch, master, updated. f24dbe8dd45cba63c6acf89fa8a300b1eae56567

David Paleino dapal at debian.org
Mon Mar 8 11:42:22 UTC 2010


The following commit has been merged in the master branch:
commit 91a8ed2c1d1905220badd0ed0f4d36cf6d1a7a86
Author: David Paleino <dapal at debian.org>
Date:   Tue Feb 9 11:08:57 2010 +0100

    remove trailing whitespace

diff --git a/bash_completion b/bash_completion
index 98f5214..9e26316 100644
--- a/bash_completion
+++ b/bash_completion
@@ -622,11 +622,11 @@ _filedir()
                     if [[ ${cur:0:1} != "'" ]]; then
                         [[ -d ${toks[i]} ]] && toks[i]="${toks[i]}"/
                         if [[ ${cur:0:1} == '"' ]]; then
-                            toks[i]=${toks[i]//\\/\\\\}       
+                            toks[i]=${toks[i]//\\/\\\\}
                             toks[i]=${toks[i]//\"/\\\"}
                             toks[i]=${toks[i]//\$/\\\$}
                         else
-                            toks[i]=$(printf %q ${toks[i]})       
+                            toks[i]=$(printf %q ${toks[i]})
                         fi
                     fi
                 done

-- 
bash-completion



More information about the Bash-completion-commits mailing list