On Wed 18 Nov 2015 at 17:48:34 (+0100), Federico Bruni wrote: > Il giorno mer 18 nov 2015 alle 17:38, Ralf Mattes > <r.mat...@mh-freiburg.de> ha scritto: > > > >Am Mittwoch, 18. November 2015 16:56 CET, Federico Bruni > ><f...@inventati.org> schrieb: > > > >> Il giorno mer 18 nov 2015 alle 16:33, Urs Liska > >><u...@openlilylib.org> ha > >> scritto: > >> > Does sh read ~/.bashrc? > >> > >> Yes, it does: > >> > >> $ sh -c "echo $LILYPOND_GIT" > >> /home/fede/src/lilypond-git > > > >No, it doesn't (necesarily). In your test you start the shell > >(most likely > >/bin/sh, which most likeliy is a link to /bin/bash or /bin/dash) > >from within > >another shell runnning in a terminal emulator and _that_ shell > >most likely > >read ~/.bashrc and exported those environment variables. > > You are right, not necessarily: in fact it reads the environment > variables, but it does not read the frescobaldi alias.
It might be worth taking note of this line in man bash "For almost every purpose, aliases are superseded by shell functions." Cheers, David. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user