What is Nostr?
Clifton Royston /
npub1ej7…lss8
2024-06-12 22:06:29
in reply to nevent1q…fxv2

Clifton Royston on Nostr: The catch is that it will change the script into the directory, but that’s running ...

The catch is that it will change the script into the directory, but that’s running in its own separate process, doing its own thing, and your shell process is just sitting there basically unaffected and waiting for the result.

If your shell process is running bash, and you want to change the state of your current process, as reflected in your prompt, you can run it with the “source” built-in command (or synonym “.”)
Author Public Key
npub1ej7hekvn4y55sxwljrfz6hth2jkf3wan95grdw4xq4u7ndecp36skrlss8