summaryrefslogtreecommitdiff
blob: 84ce8d3fb86ba7afba94ca47971e3bb8db007688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- bash_completion.orig/bash_completion	2005-04-06 12:19:18.102705608 +0100
+++ bash_completion/bash_completion	2005-04-06 12:23:24.310276368 +0100
@@ -925,8 +925,8 @@
 		_command
 		return 0
 		;;
-	-[acm]min|-[acm]time|-?(i)?(l)name|-inum|-?(i)path|-?(i)regex| \
-	-links|-perm|-size|-used|-printf)
+	-[acm]min|-[acm]time|-?(i)?(l)?(whole)name|-inum|-?(i)path| \
+	-?(i)regex|-links|-perm|-size|-used|-printf)
 		# do nothing, just wait for a parameter to be given
 		return 0
 		;;
@@ -953,7 +953,8 @@
 			-links -lname -mmin -mtime -name -newer -nouser \
 			-nogroup -perm -regex -size -true -type -uid -used \
 			-user -xtype -exec -fls -fprint -fprint0 -fprintf -ok \
-			-print -print0 -printf -prune -ls' -- $cur ) )
+			-print -print0 -printf -prune -ls -wholename \
+			-iwholename' -- $cur ) )
 
 	# this removes any options from the list of completions that have
 	# already been specified somewhere on the command line, as long as