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

Guillaume Rousse guillomovitch at zarb.org
Mon Mar 30 20:05:41 UTC 2009


The following commit has been merged in the master branch:
commit 91daa8de58a6e88d5a4b55621e2e7d5e732c65ea
Author: Guillaume Rousse <guillomovitch at zarb.org>
Date:   Mon Mar 30 21:59:58 2009 +0200

    add options completion

diff --git a/contrib/screen b/contrib/screen
index 84c5fb6..a549b76 100644
--- a/contrib/screen
+++ b/contrib/screen
@@ -56,5 +56,11 @@ _screen()
 			return 0
 			;;
 	esac
+
+	if [[ "$cur" == -* ]]; then
+		COMPREPLY=( $( compgen -W '-a -A -c -d -D -e -f -fn -fa -h -i \
+			-l -ln -ls -list -L -m -O -p -q -r -R -s -S -t -U -v \
+			-wipe -x -X' -- $cur ) )
+	fi
 } &&
 complete -F _screen $default screen

-- 
bash-completion



More information about the Bash-completion-commits mailing list