This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: zsh & lilypond


On Tue, 20 Apr 2004, zzapper wrote:

> Hi Y'all
>
> Just did my daily update (followed by PC reset). When I run a new
> Dos-Window shell I get the following message
>
> (failed to source lilypond-profile)
> You are running this script under zsh. Edit this script by hand.
>
> I don't use LilyPond so how do i get rid of this message???

Well, you must have installed LilyPond, none the less. :)

LilyPond places a file in /etc/profile.d which is sourced at shell
startup (if the shell is started with the login option).  What I did was
rename lilypond-profile.sh to lilypond-profile.sh.orig and that prevents
it from running.  If you were interested in running LilyPond, you can
copy lilypond-profile.sh to lilypond.sh, then comment out the if block
that checks for $ZSH_NAME and exists.  As far as I can tell, it runs
correctly.

Alternatively, you could ask the LilyPond maintainer to have this fixed.
They have some code which uses $0 to check the name of the script being
run and think zsh doesn't set $0 correctly for shell scripts, but I
believe this has been working for quite a while now and it's time the
LilyPond people corrected this.

> zzapper (vim, cygwin, wiki & zsh)
> --
> vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"
> http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips

-- 
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
	"Cats are just autistic Dogs" -- Dr. Tony Attwood

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]