zsh-users
 help / color / mirror / code / Atom feed
From: zzapper <david@tvis.co.uk>
To: zsh-users@sunsite.dk
Subject: Re: Why doesn't cd ignore files when you type say "cd fred*"
Date: Thu, 04 Dec 2003 20:50:33 +0000	[thread overview]
Message-ID: <sv6vsv4m1qah3gdp59rqaospleqcbkpk7d@4ax.com> (raw)
In-Reply-To: <1031204173057.ZM17273@candle.brasslantern.com>

Thanx Stephen & Bart

Can anyone talk me thru the following two expressions  I can guess
what they are doing but I'd like to know the principles (which do the
same thing (?)). I'm a zsh newbie and the shell syntax is still a bit
shocking!


   dirs=( "${^@}"(-/N) )  


[[ -d $d ]] && dirs=($dirs $d)   # if $d is a directory then load
dirname in array dirs
zzapper
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


  reply	other threads:[~2003-12-04 20:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-04 14:54 zzapper
2003-12-04 15:37 ` Peter Stephenson
2003-12-04 16:47   ` zzapper
2003-12-05 10:54     ` Oliver Kiddle
2003-12-05 11:06       ` zzapper
2003-12-05 14:27         ` Oliver Kiddle
2003-12-04 17:30 ` Bart Schaefer
2003-12-04 20:50   ` zzapper [this message]
2003-12-04 22:56     ` Pavol Juhas

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=sv6vsv4m1qah3gdp59rqaospleqcbkpk7d@4ax.com \
    --to=david@tvis.co.uk \
    --cc=zsh-users@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).