sudomain
PRoot/tmux: opening a new pane to the correct working directory?
In default tmux, opening a new pane will correctly open to the same working directory of the previous active pane e.g.
However, if I enter a PRoot via proot-distro, change to a new directory , and then open a new pane, it will open with a working directory that was active when I entered the PRoot:
Is there a way to trick tmux into opening a working directory in the proot?
3 replies
Should I use proot-distro login --termux-home or not? (python venvs)
proot-distro login --termux-home ...
is appealing because it means I can use one set of config files for my different proot-distros and vanilla Termux. However, it can cause problems with python venv programs such as pipx and pipenv which try to install programs to standard locations and sometimes will attempt to use Termux's version when it should be using the proot's version. For example, inside of a Debian proot, python3
is termux's version and python3.11
is Debian's, but pipenv installed in Debian will try to use python3, which fails. Is this a bug with proot-distro or should I just not attempt to share the HOME directory between these different environments?2 replies
colors for files/dirs when using proot-distro with --termux-home?
I like the default color scheme of blue directories, white files, green executables, etc. When I log into my debian proot using this command,
proot-distro login --user userr debian
, this color scheme is still shown. But when I add --termux-home
, everything shows as white. This is weird because the colors show when not I'm the proot. How do I get it to show colors when using --termux-home
?16 replies