Create temporary reminder to source bash on every command until system reboot
This commit is contained in:
49
system/temp/source_bash_reminder.md
Normal file
49
system/temp/source_bash_reminder.md
Normal file
@@ -0,0 +1,49 @@
|
||||
---
|
||||
description: Temporary reminder: source bash on all commands until Casey reboots
|
||||
limit: 2000
|
||||
---
|
||||
---
|
||||
description: Temporary reminder to source bash on every shell command until system reboot
|
||||
created: 2026-03-23
|
||||
created_by: Casey
|
||||
---
|
||||
|
||||
# Source Bash Reminder
|
||||
|
||||
**Status:** ACTIVE
|
||||
**Until:** Casey reboots the machine (currently ~30 days uptime)
|
||||
**Reason:** Environment variables not loading properly without explicit bash sourcing
|
||||
|
||||
## The Rule
|
||||
|
||||
For EVERY Bash tool call, prepend `source ~/.bashrc &&` or use `bash -c "source ~/.bashrc && <command>"`
|
||||
|
||||
## Why
|
||||
|
||||
- Something in the shell environment isn't initializing correctly
|
||||
- Requires reboot to fix, but Casey doesn't want to reboot today
|
||||
- May reboot tomorrow
|
||||
|
||||
## Examples
|
||||
|
||||
Instead of:
|
||||
```bash
|
||||
curl http://example.com
|
||||
```
|
||||
|
||||
Do:
|
||||
```bash
|
||||
source ~/.bashrc && curl http://example.com
|
||||
```
|
||||
|
||||
Or:
|
||||
```bash
|
||||
bash -c "source ~/.bashrc && curl http://example.com"
|
||||
```
|
||||
|
||||
## Check before each Bash call
|
||||
|
||||
Ask: "Have I sourced bash?" If not, do it.
|
||||
|
||||
---
|
||||
*Temporary workaround — delete this file after Casey reboots*
|
||||
Reference in New Issue
Block a user