aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/expand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/expand.h')
-rw-r--r--src/expand.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/expand.h b/src/expand.h
index 6ae91cca..fafbcd2a 100644
--- a/src/expand.h
+++ b/src/expand.h
@@ -52,8 +52,12 @@ enum
// Disallow directory abbreviations like /u/l/b for /usr/local/bin. Only
// applicable if EXPAND_FUZZY_MATCH is set.
EXPAND_NO_FUZZY_DIRECTORIES = 1 << 10,
- // Do expansions specifically to support cd (CDPATH, etc).
- EXPAND_SPECIAL_CD = 1 << 11
+ // Do expansions specifically to support cd
+ // This means using CDPATH as a list of potential working directories
+ EXPAND_SPECIAL_FOR_CD = 1 << 11,
+ // Do expansions specifically to support external command completions.
+ // This means using PATH as a list of potential working directories
+ EXPAND_SPECIAL_FOR_COMMAND = 1 << 12
};
typedef int expand_flags_t;