delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/20/14:40:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <doctor AT fruitbat DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: zsh & lilypond
In-Reply-To: <i93a80lo4o9l80g6j6975np4fk9smmrc4a@4ax.com>
Message-ID: <Pine.LNX.4.53.0404201125400.1010@gremlin.fruitbat.org>
References: <i93a80lo4o9l80g6j6975np4fk9smmrc4a AT 4ax DOT com>
MIME-Version: 1.0
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 <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019