# Libtmux.Operations.remove_environment

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L1149
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-operations-remove_environment/

```
val remove_environment : Environment.scope -> string -> unit Command.t
```

Store a removal marker, excluding the variable from future panes.

## Parameters

- `arg1` (`Environment.scope`)
- `arg2` (`string`)
