From 9a879262a272bd4c6458fcfa07a9289ee41d7220 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 15 Dec 2016 23:04:53 +0000 Subject: Use a POSIX guaranteed way of getting the shell path --- src/shell_manager.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shell_manager.hh') diff --git a/src/shell_manager.hh b/src/shell_manager.hh index 2f2608ef..1336ca9b 100644 --- a/src/shell_manager.hh +++ b/src/shell_manager.hh @@ -43,6 +43,8 @@ public: CandidateList complete_env_var(StringView prefix, ByteCount cursor_pos) const; private: + String m_shell; + struct EnvVarDesc { String str; bool prefix; EnvVarRetriever func; }; Vector m_env_vars; }; -- cgit v1.2.3