Il giorno mer 18 nov 2015 alle 17:57, Ralf Mattes
<r.mat...@mh-freiburg.de> ha scritto:
Am Mittwoch, 18. November 2015 17:48 CET, Federico Bruni
<f...@inventati.org> schrieb:
You are right, not necessarily: in fact it reads the environment
variables, but it does not read the frescobaldi alias.
How and where did you define that alias?
In ~/.bashrc
alias frescobaldi=/path/to/where/git/is/frescobaldi
Yes, like above.
In bash manual:
Aliases are not expanded when the shell is not interactive
Perhaps this is the reason?
Well, this is what's happening here on Fedora 23 using the gnome
terminal:
[~]$ bash -c frescobaldi
bash: frescobaldi: comando non trovato
[~]$ bash -c 'frescobaldi'
bash: frescobaldi: comando non trovato
[~]$ bash -l -c 'frescobaldi'
bash: frescobaldi: command not found
All of these only work when you either define an alias (as mentioned
above) or extend your PATH environment variable.
Again, in ~/.bashrc:
export PATH=/where/you/checked/out/frescobali:$PATH
Probably adding it to the $PATH is the best choice.
No need to tweak frescobaldi.desktop then.
HTH RalfD
BTW - I'm subscribed to the list - no need to cc a personal reply to
me
Replying to all is the practice recommended in this list. You can find
discussions in the archives.
Even though I'd agree with you.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user