Re: [ptxdist] [PATCH] ptxdist: Don't assume that we have a bashrc
* Alexander Dahl [2012-03-21 09:40]: > Am 21.03.2012 07:17, schrieb Bernhard Walle: > >> I'm using zsh, not bash, but still have ~/.bashrc … what does this code > >> try to do in the first place and how does this affect users of other > >> shells? > > > > It only avoids two error messages when running "ptxdist bash" when the > > files are not present. You can also use bash and have no ~/.bashrc > > although that might be seldom. > > Okay, then let's rephrase this. From `ptxdist help` I got: > > bash enter a ptxdist environment bash shell > bash [args...] execute in ptxdist environment > > What is this environment useful for or what advantages has `ptxdist > bash` over my own shell? Well, I sometimes use it for debugging. For example you have the selected toolchain automatically in $PATH. Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] ptxdist: Don't assume that we have a bashrc
Hei hei, Am 21.03.2012 07:17, schrieb Bernhard Walle: >> I'm using zsh, not bash, but still have ~/.bashrc … what does this code >> try to do in the first place and how does this affect users of other shells? > > It only avoids two error messages when running "ptxdist bash" when the > files are not present. You can also use bash and have no ~/.bashrc > although that might be seldom. Okay, then let's rephrase this. From `ptxdist help` I got: bash enter a ptxdist environment bash shell bash [args...] execute in ptxdist environment What is this environment useful for or what advantages has `ptxdist bash` over my own shell? Greets Alex -- »With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie) *** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 *** signature.asc Description: OpenPGP digital signature -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] ptxdist: Don't assume that we have a bashrc
Am 20.03.12 23:15, schrieb Alexander Dahl: > > Am 20.03.2012 20:46, schrieb Bernhard Walle: >> Usually there is one, but don't print an error if there is no one. > > I'm using zsh, not bash, but still have ~/.bashrc … what does this code > try to do in the first place and how does this affect users of other shells? It only avoids two error messages when running "ptxdist bash" when the files are not present. You can also use bash and have no ~/.bashrc although that might be seldom. Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] ptxdist: Don't assume that we have a bashrc
Hei hei, Am 20.03.2012 20:46, schrieb Bernhard Walle: > Usually there is one, but don't print an error if there is no one. I'm using zsh, not bash, but still have ~/.bashrc … what does this code try to do in the first place and how does this affect users of other shells? Greets Alex -- »With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie) *** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 *** signature.asc Description: OpenPGP digital signature -- ptxdist mailing list ptxdist@pengutronix.de