Shell functions and config for /etc/profile.d/. Sourced on login.
| File | Description |
|---|---|
bash_history.sh |
Persistent history with dedup, immediate append, timestamped entries |
disk_utils.sh |
hddtemp replacement via smartctl + jq, parallel scan, SATA/NVMe |
Symlink or copy into /etc/profile.d/:
sudo ln -s /path/to/bash_history.sh /etc/profile.d/
sudo ln -s /path/to/disk_utils.sh /etc/profile.d/disk_utils.sh:smartmontools,jq