# libtmux._internal.log_context._closes_shell_export

- **Module:** libtmux._internal.log_context
- **Package:** libtmux
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/libtmux/blob/efdbb5637666b166358772ecc737b3807beab21e/src/libtmux/_internal/log_context.py#L858
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-_internal-log_context-_closes_shell_export/

```
libtmux._internal.log_context._closes_shell_export(
    line: str, name: str
) -> bool
```

Return True when *line* closes ``NAME="..."; export NAME;`` unescaped.

## Parameters

- `line` (`str`)
- `name` (`str`)
