mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-23 11:03:01 +08:00
77aeb6a2a8
Drop support for history file version 1. ParseExecutionContext no longer contains an OperationContext because in my first implementation, ParseExecutionContext didn't have interior mutability. We should probably try to add it back. Add a few to-do style comments. Search for "todo!" and "PORTING". Co-authored-by: Xiretza <xiretza@xiretza.xyz> (complete, wildcard, expand, history, history/file) Co-authored-by: Henrik Hørlück Berg <36937807+henrikhorluck@users.noreply.github.com> (builtins/set)
17 lines
450 B
C++
17 lines
450 B
C++
// Prototypes for functions that react to environment variable changes
|
|
#ifndef FISH_ENV_DISPATCH_H
|
|
#define FISH_ENV_DISPATCH_H
|
|
|
|
#include "config.h" // IWYU pragma: keep
|
|
|
|
#include "common.h"
|
|
#include "env.h"
|
|
|
|
/// Initialize variable dispatch.
|
|
void env_dispatch_init(const environment_t &vars);
|
|
|
|
/// React to changes in variables like LANG which require running some code.
|
|
void env_dispatch_var_change(const wcstring &key, env_stack_t &vars);
|
|
|
|
#endif
|