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. -- Best regards, Michał Górny
signature.asc
Description: PGP signature