From 2d68b250253eb07f8f796a6fe5f421efc90b70e1 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 6 Feb 2016 14:39:47 -0800 Subject: Early work towards moving the cd special autosuggestion into completions This will simplify some code and make the cd autosuggestion smarter --- src/expand.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/expand.h') 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; -- cgit v1.2.3