Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use array PROMPT_COMMAND in Bash >= 5.1
Bash 5.1 started to support the array form of PROMPT_COMMAND, which can be used to register multiple PROMPT_COMMAND commands more robustly. We perform this in a shell function to temporarily set IFS.
- Loading branch information