aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-08-07 00:01:48 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-08-07 00:01:48 -0700
commit0e2a62581536dd99c53c1e99b9cfa05a0338e03c (patch)
treee6540e523019e0df52178357ab26b89268fbdc59 /complete.cpp
parent6eb66770a499444edf15810e4f1fcf7694b71430 (diff)
Added some limited support for autosuggesting processes
Diffstat (limited to 'complete.cpp')
-rw-r--r--complete.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/complete.cpp b/complete.cpp
index 14d372c1..a4f6a9aa 100644
--- a/complete.cpp
+++ b/complete.cpp
@@ -350,10 +350,10 @@ class completer_t {
complete_flags_t flags );
expand_flags_t expand_flags() const {
- /* Never do command substitution in autosuggestions. Sadly, we also can't yet do process expansion because it's not thread safe. */
+ /* Never do command substitution in autosuggestions. Sadly, we also can't yet do job expansion because it's not thread safe. */
expand_flags_t result = 0;
if (type == COMPLETE_AUTOSUGGEST)
- result |= EXPAND_SKIP_CMDSUBST | EXPAND_SKIP_PROCESS;
+ result |= EXPAND_SKIP_CMDSUBST | EXPAND_SKIP_JOBS;
return result;
}