zsh-users
 help / color / mirror / code / Atom feed
From: chesss <testingagain@gmail.com>
To: zsh-users@sunsite.dk
Subject: persistant Directory history?
Date: Mon, 6 Nov 2006 22:15:26 +0530	[thread overview]
Message-ID: <5db995410611060845y53f673e6je029a9c60659f116@mail.gmail.com> (raw)

Is it possible to have some kind of directory history, taht would last
after closing the shell? As attempted here:
http://www.macosxhints.com/article.php?story=20050806202859392 - thsi
doesn't seem to work as zlogout is not executed when an interactive
shell is closed(i think)

Also some other shell seems to have this feature
from http://www.softpanorama.org/Articles/slightly_skeptical_view_on_shell.shtml
>There are also the savedirs and dirsfile shell variables that can be
set >to store the directory stack automatically on logout and restore
it on >login. The dirstack shell variable can be examined to see the
directory >stack and set to put arbitrary directories into the
directory stack.

Basically I want to save the directory stack automatically and have
ctrl+r like history..
Possible?

Thzx


             reply	other threads:[~2006-11-06 16:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-06 16:45 chesss [this message]
2006-11-06 17:40 ` Stephane Chazelas
2006-11-06 21:14   ` chesss
2006-11-06 21:50     ` Stephane Chazelas
2006-11-07  0:19       ` William Scott
2006-11-07  8:18         ` Stephane Chazelas
2006-11-07 14:22           ` William Scott
2006-11-07 14:52 ` Francisco Borges
2006-11-07 20:19   ` chesss
2006-11-07 23:18     ` Francisco Borges
2006-11-07 23:52       ` Stephane Chazelas
2006-11-08 10:41         ` Francisco Borges
2006-11-08 11:19           ` Stephane Chazelas
2006-11-08 11:35       ` chesss

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=5db995410611060845y53f673e6je029a9c60659f116@mail.gmail.com \
    --to=testingagain@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).