Closed chmouel closed 7 years ago
Thanks for your PR!
What's the goal here? Is this a bug fix, or a UI improvement? We do have the directory in the mode line already.
this is mostly a UI improvement, since the directory that is displayed currently doesn't reflect the actual tested directory
Thanks for putting in the time to send a PR, but I don't think this is right for ag.el. We already have the current directory in the mode line, and we abbreviate it (so ~/foo
rather than /home/wilfred/foo
) for example. The command in the results buffer is already long, and we'd need to test it on windows as it's changing the command used.
I'd be open to adding a separate line to the results buffer, but I don't think changing the command used is the right approach.
Default directory is properly configured to what the used was specifying but we were showing only "." when showing or executing the command. Let show the proper desired directory.