aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/expand.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-06 14:39:47 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-18 17:00:25 -0800
commit2d68b250253eb07f8f796a6fe5f421efc90b70e1 (patch)
treeeed41798a1f5d624a4b3366c683569d5065b227b /src/expand.h
parent1767681f9a61ac0789f5dafa76126e3446924b6d (diff)
Early work towards moving the cd special autosuggestion into completions
This will simplify some code and make the cd autosuggestion smarter
Diffstat (limited to 'src/expand.h')
-rw-r--r--src/expand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/expand.h b/src/expand.h
index e81f7143..2c526358 100644
--- a/src/expand.h
+++ b/src/expand.h
@@ -59,7 +59,10 @@ enum
EXPAND_FUZZY_MATCH = 1 << 9,
/** 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
+ EXPAND_NO_FUZZY_DIRECTORIES = 1 << 10,
+
+ /** Do expansions specifically to support cd (CDPATH, etc) */
+ EXPAND_SPECIAL_CD = 1 << 11
};
typedef int expand_flags_t;