203a7732f5
At connection, a remote client sends all its environement to the server, which then provides access to client env through kak_client_env_VAR_NAME variables in the shell.
19 lines
245 B
C++
19 lines
245 B
C++
#ifndef env_vars_hh_INCLUDED
|
|
#define env_vars_hh_INCLUDED
|
|
|
|
#include "string.hh"
|
|
|
|
#include <unordered_map>
|
|
|
|
namespace Kakoune
|
|
{
|
|
|
|
using EnvVarMap = std::unordered_map<String, String>;
|
|
|
|
EnvVarMap get_env_vars();
|
|
|
|
}
|
|
|
|
#endif // env_vars_hh_INCLUDED
|
|
|