zsh-users
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: zsh-users@sunsite.dk
Subject: Re: Simple Tip of the Day
Date: Fri, 2 Dec 2005 13:49:06 +0100	[thread overview]
Message-ID: <237967ef0512020449p6ff1ec0t4cac7a03601c7d25@mail.gmail.com> (raw)
In-Reply-To: <x2448e8cq2ur$.1bkmagme4c3nn.dlg@40tude.net>

On 12/2/05, Thorsten Kampe <thorsten@thorstenkampe.de> wrote:
> * Vincent Lefevre (2005-12-02 01:09 +0100)
> > On 2005-12-01 20:38:16 +0000, zzapper wrote:
> >>>cd /xx/yy/ggg/ccc/
> >> type
> >>>S=`pwd`
> >
> > You could use $PWD instead of `pwd`.
>
> Use zsh's autopushd option and refer to "S" as ~1 (or ~n). That's much
> simpler.

I type ~- and then press tab to get a list of all the dirs i've been
in, and ~+ is the shortest alias for $PWD that i found.

--
Mikael Magnusson


  reply	other threads:[~2005-12-02 12:49 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-01 20:38 zzapper
2005-12-02  1:09 ` Vincent Lefevre
2005-12-02  9:13   ` Thorsten Kampe
2005-12-02 12:49     ` Mikael Magnusson [this message]
2005-12-02 19:20       ` zzapper
2005-12-03 20:28         ` zzapper
2005-12-03 22:08           ` Mikael Magnusson
2005-12-03 22:20             ` zzapper
2005-12-04  0:24               ` compinit security (Re: Simple Tip of the Day) Bart Schaefer
2005-12-04  1:32               ` Simple Tip of the Day Mikael Magnusson
  -- strict thread matches above, loose matches on Subject: below --
2005-11-30 20:32 Simple Tip of The Day zzapper
2005-11-30 23:27 ` Przemyslaw Gawronski
2005-10-28 11:11 Simple Tip of the Day zzapper
2005-10-28 11:32 ` Jean Chalard
2005-10-28 15:25   ` Bart Schaefer
2005-10-28 17:40     ` Jean Chalard
2005-10-28 15:53   ` zzapper
2005-10-28 11:47 ` Hannu Koivisto
2005-10-28 12:26   ` Nikolai Weibull
2005-10-29 12:37   ` Konstantin Sobolev
2005-10-29 14:52     ` Christian Taylor
2005-10-28 20:08 ` DervishD
2005-10-30  5:10 ` Philippe Troin
2005-11-01 16:58   ` Vincent Lefevre

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=237967ef0512020449p6ff1ec0t4cac7a03601c7d25@mail.gmail.com \
    --to=mikachu@gmail.com \
    --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).