unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* eshell and quick cd
@ 2009-03-28  5:37 henry atting
  2009-03-28  5:51 ` thierry.volpiatto
       [not found] ` <mailman.4141.1238219904.31690.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: henry atting @ 2009-03-28  5:37 UTC (permalink / raw)
  To: help-gnu-emacs

I recently encountered `wcd' [1], which provides a way to quickly change
directories. For example if I am in ~/a/b and want to cd to ~/c/def a
`wcd def' would suffice if def is a unique directory name.
Since only `cd' is allowed to change directories you have to write a
function in your ~/.zshrc (in my case) like that:

function wcd
{
  $HOME/bin/wcd.exe $*
. $HOME/bin/wcd.go
}

Is there already a builtin function of eshell which does the same? Or,
if not, how can I tell eshell to use wcd?

henry

___

[1] http://www.xs4all.nl/~waterlan/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-30 13:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-28  5:37 eshell and quick cd henry atting
2009-03-28  5:51 ` thierry.volpiatto
     [not found] ` <mailman.4141.1238219904.31690.help-gnu-emacs@gnu.org>
2009-03-29  9:35   ` henry atting
2009-03-29 13:30     ` thierry.volpiatto
     [not found]     ` <mailman.4199.1238333835.31690.help-gnu-emacs@gnu.org>
2009-03-30 13:45       ` henry atting

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 read-only IMAP folder(s) and NNTP newsgroup(s).