Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 20 Apr 2004 11:37:49 -0700 (PDT) From: "Peter A. Castro" To: cygwin AT cygwin DOT com Subject: Re: zsh & lilypond In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes 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 or "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/