-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 16/06/14 07:38 PM, Joshua Kinard wrote: > Can $PATH be configured via our existing eselect tool to > enable/disable the crossdev paths when needed? >
Technically it could but not really ; PATH is an environment thing, AFAIK all eselect could do is trigger the addition or removal of entries in /etc/env.d/ , but after that happens one would still need to 'env-update && . /etc/profile' to get the changes. Similarly I don't think using an eselect tool to bring the crossdev tools into the default path (via symlinks) is a great idea either; yes it'd allow users to un-eselect the crossdev tools when errors occur, but the errors would still occur every time a user forgets to do this first. It would be easier to update PATH yourself manually in the shell, I expect; perhaps a quick utility could do that for you (maybe opening up a crossdev-ready subshell) so you don't have to remember the path. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlOgQcwACgkQ2ugaI38ACPB17AEAk0NFZ2Q5B19C0LYxHQ8aocmh XQN9gaSEihGR5xJw6B8BAIsnZFtHxqk5kBwfKgG0MIcdfttGncSfgT6esKTCPf09 =DBJn -----END PGP SIGNATURE-----