summaryrefslogtreecommitdiff
path: root/src/shell_manager.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell_manager.hh')
-rw-r--r--src/shell_manager.hh6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/shell_manager.hh b/src/shell_manager.hh
index ebfe3cca..7dc00f83 100644
--- a/src/shell_manager.hh
+++ b/src/shell_manager.hh
@@ -18,11 +18,9 @@ struct ShellContext
EnvVarMap env_vars;
};
-enum class Quoting;
-
struct EnvVarDesc
{
- using Retriever = String (*)(StringView name, const Context&, Quoting quoting);
+ using Retriever = Vector<String> (*)(StringView name, const Context&);
StringView str;
bool prefix;
@@ -46,7 +44,7 @@ public:
Flags flags = Flags::WaitForStdout,
const ShellContext& shell_context = {});
- String get_val(StringView name, const Context& context, Quoting quoting) const;
+ Vector<String> get_val(StringView name, const Context& context) const;
CandidateList complete_env_var(StringView prefix, ByteCount cursor_pos) const;