summaryrefslogtreecommitdiff
path: root/src/shell_manager.hh
AgeCommit message (Collapse)Author
2014-11-12Cleanup includesMaxime Coste
2014-10-13Refactor regex uses, do not reference boost except in regex.hhMaxime Coste
2014-06-18Add a %val{...} expand typeMaxime Coste
%val{name} gives access to values given in shell through $kak_<name>
2014-05-05Add '$' for keeping selections that passes a shell commandMaxime Coste
'$' pipes each selections through a given shell command, and only keeps the one that have an exit code of 0 Fixes #36
2014-04-21Use StringView in shell managerMaxime Coste
2014-04-07Add support for querying client environement variablesMaxime Coste
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.
2014-01-27Fix compilation with clang 3.4Maxime Coste
2014-01-09Style changes, replace typedefs with usingsMaxime Coste
2013-07-26memoryview: always pass by valueMaxime Coste
2013-04-17ShellManager: env_var_regex is an implementation detailMaxime Coste
2013-04-09sort includes directivesMaxime Coste
2013-02-18Fix class/struct mismatchesMaxime Coste
2012-09-09Add support for shell script parametersMaxime Coste
Now %sh{ ... } can access positional parameters through standard shell construct, allowing simple handling of variable parameters. def command accepts -shell-params flag to use this facility.
2012-08-29remove regex.hh, define Regex directly in string.hhMaxime Coste
2012-06-25ShellManager environment variable use a regex instead of an exact matchMaxime Coste
when a kakoune releated env var used in a shell command, the ShellManager tries to match it with given regex and the first that matches calls its value retriever. For this to be useful, EnvVarRetrievers now also take the variable name in its parameters.
2012-05-29Restore piping support.Maxime Coste
Add a ShellManager::pipe method, which pipes a string into the command. Not quite satisfied with this interface.
2012-05-29ShellManager::eval now takes an additional env_var mapMaxime Coste
2012-05-03Add a ShellManager which handles executing shell commandsMaxime Coste
ShellManager provides shell commands with environement variable to retrieve some internal values in the shell parameters.