From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: Shebang diff
Date: Thu, 21 Feb 2008 20:01:13 -0800 [thread overview]
Message-ID: <080221200113.ZM25416@torch.brasslantern.com> (raw)
In-Reply-To: <20080222025459.GB4595@scowler.net>
On Feb 21, 9:54pm, Clint Adams wrote:
} Subject: Re: Shebang diff
}
} On Sun, Feb 17, 2008 at 05:50:05PM -0800, Bart Schaefer wrote:
} > I'm not concerned with the file permissions; I don't care whether or
} > not they have the execute bit set. I just don't want the #! removed.
} > Running chmod to "install" the script is one thing, but having to edit
} > the file is another entirely.
}
} You're invoking $fndir/Misc/sticky-note with a full pathname?
No ... my point was that
cp $^fpath/sticky-note(N) ~/bin
chmod +x ~/bin/sticky-note
is a lot less of a PITA than
cp $^fpath/sticky-note(N) ~/bin
vi ~/bin/sticky-note
O#!/bin/zsh -fiESC:wq
chmod +x ~/bin/sticky-note
especially given that it's non-obvious that "-fi" is necessary in order
for it to work correctly.
It's entirely possible that there's a better place than Functions/Misc/
to put scripts like this, but that place doesn't exist yet in the tree.
next prev parent reply other threads:[~2008-02-22 4:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-16 19:38 Bart Schaefer
2008-02-17 16:23 ` Peter Stephenson
2008-02-18 1:50 ` Bart Schaefer
2008-02-22 2:54 ` Clint Adams
2008-02-22 4:01 ` Bart Schaefer [this message]
2008-02-22 15:56 ` Clint Adams
2008-02-22 17:20 ` Bart Schaefer
2008-02-23 4:31 ` Bart Schaefer
2008-02-23 17:35 ` Peter Stephenson
2008-02-22 2:53 ` Clint Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=080221200113.ZM25416@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).