This file contains hidden or 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
#!/usr/bin/env bash | |
# Checks if the bash prompt is setup correctly, i.e. if all non-printable | |
# characters are escaped correctly using \[...\] and if wide characters | |
# (eg. emoji) are displayed correctly by the terminal. | |
# | |
# Should work on any bash prompt, including ones containing colors, multiple | |
# lines, unicode characters, etc. | |
# | |
# The tests are performed by running a shell in a clean tmux session, |
This file contains hidden or 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
- |