Re: Issus with popd and pushd

2017-04-21 Thread Pete Smith
Am clearly out of my league in these exchanges about possible implementation. Nevertheless am heartened by seeing these exchanges. As to the question that came up in the dialogue: > Um... don't you mean to use the alias command somewhere, like: > > alias popd='builtin popd|tr " " "\n"' I

Re: Issus with popd and pushd

2017-04-22 Thread Pete Smith
Thanks I was being a bit dense, didn't realize that the format you gave causes the commands to run in the parent shell. It works as it should! -Pete On Fri, Apr 21, 2017 at 10:52 AM, Chet Ramey wrote: > On 4/21/17 1:36 PM, Chet Ramey wrote: > > > I think the key takeaway

Issus with popd and pushd

2017-04-17 Thread Pete Smith
The problem with: dirs, pushd, popd is that they output a single line of paths that's difficult to parse visually quickly, especially when there are many paths in the dir stack and the path names are long. dirs offers a reasonable solution with the -v option Unfortunately popd and pushd do NOT

Re: Issus with popd and pushd

2017-04-17 Thread Pete Smith
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