Hi

tmux can't change the environment of other processes, including its
parent.

You could possibly do it yourself with a script that detaches tmux,
usese tmux showenv and pane_current_path to update the parent shell,
then kills tmux.

Alternatively it would possible to add a feature where tmux replaced
itself with a new shell with the updated environment but I don't see
much use for this so there is little chance of it being implemented.


On Wed, Oct 02, 2019 at 10:09:23AM -0500, Matt Zagrabelny wrote:
>    Greetings,
>    Is there a way to leave tmux, but somehow seed the environment (history,
>    CWD, etc.) with everything that was part of the tmux environment?
>    Sort of like:
>    tmux
>    # do stuff
>    tmux --copy-environment-exec-shell
>    # now the shell is running without tmux
>    What do you folks think?
>    Thanks for any help!
>    -m
> 
>    --
>    You received this message because you are subscribed to the Google Groups
>    "tmux-users" group.
>    To unsubscribe from this group and stop receiving emails from it, send an
>    email to [email protected].
>    To view this discussion on the web, visit
>    
> https://groups.google.com/d/msgid/tmux-users/CAOLfK3V%2BVMY4br1fKfvXbjukAcdzV5pCAMjrHoq%2BuWkMqC%3D5nw%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/20191002194543.y6iz3ecmckpwmj2s%40yelena.

Reply via email to