From 1907323afce50498289c0bbaa67ead1250a0535c Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 8 Feb 2016 01:29:23 -0800 Subject: Additional work on unifying cd autosuggestions with complete --- src/env.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/env.h') diff --git a/src/env.h b/src/env.h index d7b4c23d..bfea16ab 100644 --- a/src/env.h +++ b/src/env.h @@ -227,10 +227,13 @@ class env_vars_snapshot_t { std::map vars; bool is_current() const; - + + env_vars_snapshot_t(const env_vars_snapshot_t&); + void operator=(const env_vars_snapshot_t &); + public: env_vars_snapshot_t(const wchar_t * const * keys); - env_vars_snapshot_t(void); + env_vars_snapshot_t(); env_var_t get(const wcstring &key) const; @@ -239,6 +242,9 @@ public: // vars necessary for highlighting static const wchar_t * const highlighting_keys[]; + + // vars necessary for completion + static const wchar_t * const completing_keys[]; }; extern bool g_log_forks; -- cgit v1.2.3