You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading tmuxp sessions, $PATH gets polluted with paths to python and tmuxp. For example, when I load a session, echo "$PATH" prints /nix/store/fqm9bqqlmaqqr02qbalm1bazp810qfiw-python3-3.12.9/bin:/nix/store/y2r9mrjwnjbj2mqai0949am04z6ckw4g-tmuxp-1.50.1/bin before my usual $PATH. These paths are where Nix stores tmuxp's binaries as well as the binaries for the version of python it uses.
This only happens when I load with tmuxp. Just using tmux new does not cause this bug. It also doesn't happen outside of tmux.
This happens with a completely blank tmux config that has nothing except for set-option -g default-shell /<...>/shellbin, where shellbin is a bash script I created that runs bash with --noprofile and --norc.
Essentially, a blank tmux and bash config.
This bug happens with both my custom tmuxp sessions and also the example on the README.md
Should be able to reproduce with tmuxp load mysession with ~/.tmuxp/mysession.yaml containing the example from the README.md with no bash/tmux config on NixOS
The text was updated successfully, but these errors were encountered:
Version Information:
When loading tmuxp sessions,
$PATH
gets polluted with paths to python and tmuxp. For example, when I load a session,echo "$PATH"
prints/nix/store/fqm9bqqlmaqqr02qbalm1bazp810qfiw-python3-3.12.9/bin:/nix/store/y2r9mrjwnjbj2mqai0949am04z6ckw4g-tmuxp-1.50.1/bin
before my usual$PATH
. These paths are where Nix stores tmuxp's binaries as well as the binaries for the version of python it uses.This only happens when I load with tmuxp. Just using
tmux new
does not cause this bug. It also doesn't happen outside of tmux.This happens with a completely blank tmux config that has nothing except for
set-option -g default-shell /<...>/shellbin
, whereshellbin
is a bash script I created that runs bash with--noprofile
and--norc
.Essentially, a blank tmux and bash config.
This bug happens with both my custom tmuxp sessions and also the example on the
README.md
Should be able to reproduce with
tmuxp load mysession
with~/.tmuxp/mysession.yaml
containing the example from theREADME.md
with no bash/tmux config on NixOSThe text was updated successfully, but these errors were encountered: