On 06/17/2014 10:22, Michał Górny wrote: > Dnia 2014-06-17, o godz. 09:25:32 > Ian Stakenvicius <a...@gentoo.org> napisał(a): > >> -----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. > > +1. That's how sane tools work.
+1 for providing a technical reason why my off-the-cuff idea won't work. This is what we need to address this perceived problem: Ideas. Weed out the ones that don't work and figure out what can work, then apply it. -- Joshua Kinard Gentoo/MIPS ku...@gentoo.org 4096R/D25D95E3 2011-03-28 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic