nicoloboschi opened a new pull request, #17648: URL: https://github.com/apache/pulsar/pull/17648
### Motivation The `pulsar-shell` script doesn't change the working directory to the Pulsar home one. In this way if you configure `cliExtensionsDirectory` with a relative path, it only works if you run pulsar-shell from the pulsar home directory. For instance `cd bin && ./pulsar-shell` is not able to find the cli extensions dir. ### Modifications * Change directory to pulsar home before starting the java process (in this way it's the same as the other scripts) The only disadvantage is that the `--file` autocompletion will suggest files from the Pulsar home directory and not from the real working dir. (but it's still better than the current behaviour) - [x] `doc-not-needed` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
