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 “.”)
Published at
2024-06-12 22:06:29Event JSON
{
"id": "152a22a3eb6aa91eaeae9d01d905a13912a139253f32f56069fa525857f9ccd8",
"pubkey": "ccbd7cd993a9294819df90d22d5d7754ac98bbb32d1036baa60579e9b7380c75",
"created_at": 1718229989,
"kind": 1,
"tags": [
[
"p",
"39bd4b787182c3f19644fed5924cf24df8d64d79231f8d73da216f88923ec078"
],
[
"e",
"60f914ebd5697a06ebbeef2aadb0f66a33751b8bea550c2aa8b6304086836cb5",
"",
"root"
],
[
"proxy",
"https://wandering.shop/@CliftonR/112605920618038153",
"web"
],
[
"proxy",
"https://wandering.shop/users/CliftonR/statuses/112605920618038153",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://wandering.shop/users/CliftonR/statuses/112605920618038153",
"pink.momostr"
]
],
"content": "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.\n\nIf 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 “.”)",
"sig": "e84cea1ba48dfd8cb8cc902d31a9510dbca0899c12288f8aa2b174a9d860380bc33a5b8697b9a4b1e86852fba49e9175361415195d429586a5399b6aec430830"
}