@@ -79,11 +79,15 @@ func Value(shell string, value string, meta common.Meta, values common.RawValues
79
79
style .Carapace .Usage = style .Italic
80
80
values = values .Decolor ()
81
81
}
82
- filtered := values .FilterPrefix (value )
82
+
83
+ if ! env .Unfiltered () {
84
+ values = values .FilterPrefix (value )
85
+ }
86
+
83
87
switch shell {
84
88
case "elvish" , "export" , "zsh" : // shells with support for showing messages
85
89
default :
86
- filtered = meta .Messages .Integrate (filtered , value )
90
+ values = meta .Messages .Integrate (values , value )
87
91
}
88
92
89
93
if shell != "export" {
@@ -95,16 +99,16 @@ func Value(shell string, value string, meta common.Meta, values common.RawValues
95
99
}
96
100
}
97
101
98
- sort .Sort (common .ByDisplay (filtered ))
102
+ sort .Sort (common .ByDisplay (values ))
99
103
if env .Experimental () {
100
104
if _ , err := exec .LookPath ("tabdance" ); err == nil {
101
- return f (value , meta , filtered )
105
+ return f (value , meta , values )
102
106
}
103
107
}
104
- for index := range filtered {
105
- filtered [index ].Uid = ""
108
+ for index := range values {
109
+ values [index ].Uid = ""
106
110
}
107
- return f (value , meta , filtered )
111
+ return f (value , meta , values )
108
112
}
109
113
return ""
110
114
}
0 commit comments