50 lines
1.0 KiB
Markdown
50 lines
1.0 KiB
Markdown
---
|
|
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*
|