punktdateien-bashrc/settings.d/autosave-history.sh

4 lines
101 B
Bash
Raw Normal View History

2024-06-04 20:53:38 +02:00
#!/usr/bin/env bash
[[ "${CONFIG_AUTOSAVE_HISTORY}" == "1" ]] && export "PROMPT_COMMAND=history -a"