Ahh that makes sense:

   "That will never change the current directory, since the popd is run in
a subshell."

So what's the possibility of adding -v option to popd and pushd???

-Pete

On Mon, Apr 17, 2017 at 1:33 PM, Chet Ramey <chet.ra...@case.edu> wrote:

> On 4/17/17 2:05 PM, Pete Smith wrote:
>
> > Using an alias solution:
> >
> >   popd | sed 's/\s/\n/g' | nl
> >
> > doesn't work, probably because they are shell built-ins.
>
> That will never change the current directory, since the popd is run in
> a subshell.
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~
> chet/
>

Reply via email to