[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: *shell* TAB *Completions* fooled by $PWD/
From: |
David Kastrup |
Subject: |
Re: *shell* TAB *Completions* fooled by $PWD/ |
Date: |
10 Jul 2002 20:30:46 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
jidanni@dman.ddts.net (Dan Jacobson) writes:
> K> The shell.el directory tracking mechanism could be modified to update
> K> the PWD environment variable as well as its internal variables. But
>
> actually you are going to go nuts tracking all those variables,
> e.g. what if I do in a shell window,
> $ cd
> $ su bob
> $ cd inside
> etc. while you are tracking $PWD unless you somehow have a behind the
> scenes connection to get the real scoop from /proc or bash itself...
> Oh, and say bob's dir is mode 700
> $ su -c 'echo are you still following me?; bash -i' jimmy
> $ cd; echo i said su _-c_ to keep you off the trail, but then used bash -i
>
> Anyway, it will never track perfectly.
Use
M-x eshell RET
Whatever it will be tracking, Emacs will know about it.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: David.Kastrup@t-online.de
- *shell* TAB *Completions* fooled by $PWD/, Dan Jacobson, 2002/07/08
- Message not available
- Re: *shell* TAB *Completions* fooled by $PWD/, Richard Stallman, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Miles Bader, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Miles Bader, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Kevin Rodgers, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Andreas Schwab, 2002/07/12
- Re: *shell* TAB *Completions* fooled by $PWD/, Kai Großjohann, 2002/07/17
- Re: *shell* TAB *Completions* fooled by $PWD/, Miles Bader, 2002/07/17