PorkBBQ on Nostr: IIRC .profile is just sourced in login shells. The file .bashrc is sourced every ...
IIRC .profile is just sourced in login shells. The file .bashrc is sourced every time. My trick is to do everything in .bashrc with a "has setup already been done" check to short circuit the process.
Most likely that is not the answer that you wanted.
Published at
2024-05-20 15:19:15Event JSON
{
"id": "8134dae79b99a9802ebb374e5891f3df1690dca252c2125f9615111ab7e5a047",
"pubkey": "59249fe175a1a3804352c4f1dec6801f44d7be95c12f5011d407207da41b7c2e",
"created_at": 1716218355,
"kind": 1,
"tags": [
[
"p",
"bfc36b013e82efd032fc4f0ac558e17ac24a330c3b53a175d590b71d42268a3d"
],
[
"e",
"1bd93daf1cf1c8761328a6d531f0e49483c22e07803f252280d00a4ec3be048e",
"",
"root"
],
[
"proxy",
"https://dice.camp/@PorkBBQ/112474086126535650",
"web"
],
[
"proxy",
"https://dice.camp/users/PorkBBQ/statuses/112474086126535650",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://dice.camp/users/PorkBBQ/statuses/112474086126535650",
"pink.momostr"
]
],
"content": "IIRC .profile is just sourced in login shells. The file .bashrc is sourced every time. My trick is to do everything in .bashrc with a \"has setup already been done\" check to short circuit the process.\n\nMost likely that is not the answer that you wanted.",
"sig": "e5cccb233bc1a5c90e739f90a8eb9f74aa21104dd8c2de7f9b920376adddcec0280ab2edc2245a9e9b252b2f20db17564fdd532a2e5a7d82ba34b7924c149c20"
}