From: "Thomas Köhler" <jean-luc@picard.franken.de>
To: zsh-users@sunsite.auc.dk
Subject: Re: zsh tips for "UNIX Power Tools"
Date: Sat, 4 Mar 2000 12:43:29 +0100 [thread overview]
Message-ID: <20000304124329.C1805@picard.franken.de> (raw)
In-Reply-To: <87k8jjwt6h.fsf@cenderis.demon.co.uk>; from bruce+zsh@cenderis.demon.co.uk on Sat, Mar 04, 2000 at 12:08:21AM +0100
On Sat, Mar 04, 2000 at 12:08:21AM +0100,
Bruce Stephens <bruce+zsh@cenderis.demon.co.uk> wrote:
>
> Thomas Köhler <jean-luc@picard.franken.de> writes:
>
> [...]
>
> > And this one:
> > chmod 755 **/*(/)
> > chmod 644 **/*(.)
> > Hey, all directories are mode 755, while all plain files are mode 644!
> > Again, no find is necessary, as would be for bash:
> > find . -type d -exec chmod 755 {} \;
> > find . -type f -exec chmod 644 {} \;
>
> What's wrong with
>
> chmod -R go+rX .
It simply sets wrong permissions :-)
(and not every chmod has -R, which is bad)
[from "man chmod"]:
The letters `rwxXstugo' select the new permissions for the
affected users: [...] execute only if the file is a directory
or already has execute permission for some user (X)
Oops - there's already some plain file mode 755 which I want to have
mode 644 - your solution won't work...
> [...]
>
> > - Why not simply use ^Xh instead of ^X^H? Now, I have a feature of
> > zsh-3.1.6-dev-xx on ^Xh:
> > bindkey "^Xh" _complete_help
>
> Why not use M-h, which is built-in, I think. I don't remember
> configuring it, anyway.
I don't like M-h :-)
(well, and I use ^X <something else> for further mappings, so it is
simply consistent)
CU,
Thomas
--
Thomas Köhler Email: jean-luc@picard.franken.de | LCARS - Linux
<>< WWW: http://jeanluc-picard.de | for Computers
IRC: jeanluc | on All Real
PGP public key available from Homepage! | Starships
next prev parent reply other threads:[~2000-03-04 12:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-02 16:13 Jerry Peek
2000-03-03 11:39 ` Thomas Köhler
2000-03-03 14:17 ` Jerry Peek
2000-03-03 23:05 ` Bruce Stephens
2000-03-04 5:40 ` Bart Schaefer
2000-03-04 12:05 ` Thomas Köhler
2000-03-04 16:38 ` Bart Schaefer
2000-03-04 17:18 ` Bart Schaefer
2000-03-04 12:31 ` Bruce Stephens
2000-03-04 11:43 ` Thomas Köhler [this message]
2000-03-04 12:43 ` Bruce Stephens
2000-03-04 12:22 ` Vincent Lefevre
2000-03-04 18:12 ` Bart Schaefer
2000-03-05 23:19 ` Vincent Lefevre
2000-03-06 0:30 ` Bart Schaefer
2000-03-06 20:51 ` Thomas Köhler
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=20000304124329.C1805@picard.franken.de \
--to=jean-luc@picard.franken.de \
--cc=zsh-users@sunsite.auc.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).