diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-06-18 19:28:48 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-06-18 19:32:13 +0100 |
| commit | 9aa8c8a60a03396b7ed679537e3ed6b6de02ce8e (patch) | |
| tree | ecd25237cb493f6fb11aa59bb77768bc0e7e116d /src/shell_manager.hh | |
| parent | 62707aa82d407436c517f241c38eed68b5d158af (diff) | |
Add a %val{...} expand type
%val{name} gives access to values given in shell through $kak_<name>
Diffstat (limited to 'src/shell_manager.hh')
| -rw-r--r-- | src/shell_manager.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shell_manager.hh b/src/shell_manager.hh index 16a5f27e..f5d27a03 100644 --- a/src/shell_manager.hh +++ b/src/shell_manager.hh @@ -28,6 +28,7 @@ public: int* exit_status = nullptr); void register_env_var(StringView regex, EnvVarRetriever retriever); + String get_val(StringView name, const Context& context) const; private: std::vector<std::pair<Regex, EnvVarRetriever>> m_env_vars; |
