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

Freddy Vulto fvulto at gmail.com
Fri Jul 31 08:41:21 UTC 2009


The following commit has been merged in the master branch:
commit f458bada6c3c541aa91e07c47a36c0f7f1fa1625
Author: Freddy Vulto <fvulto at gmail.com>
Date:   Fri Jul 31 10:38:59 2009 +0200

    Call _filedir instead of _filedirs in screen
    NOTE: Because the `screen' completion doesn't have `-o filenames' in
    effect, _filedir won't escape spaces in filenames.  See also:
    http://lists.alioth.debian.org/pipermail/bash-completion-devel/2009-July/001766.html

diff --git a/contrib/screen b/contrib/screen
index a549b76..3117f3d 100644
--- a/contrib/screen
+++ b/contrib/screen
@@ -52,7 +52,7 @@ _screen()
 			COMPREPLY=( $( grep ^${cur:-[^#]} /etc/shells ) )
 			;;
 		-c)
-			_filedirs
+			_filedir
 			return 0
 			;;
 	esac

-- 
bash-completion



More information about the Bash-completion-commits mailing list