This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# preexec.bash -- Bash support for ZSH-like 'preexec' and 'precmd' functions. | |
# The 'preexec' function is executed before each interactive command is | |
# executed, with the interactive command as its argument. The 'precmd' | |
# function is executed before each prompt is displayed. | |
# To use, in order: |