Problem
The terminal font in Mac contains extra spaces (zsh)
Example:
Resolution:
This issue is caused by a system locale conflict between UTF-8 and UTF-16. Follow these steps to resolve it:
- Run the following command to check your locale settings:
locale
- If any of the settings (like LANG or LC_* variables) are incorrect or unset, reset them to the correct values. For instance, if you're using US English, use the following commands:
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
To make these changes permanent, add the lines above to your .zshrc file and restart the terminal.
Comments
0 comments
Please sign in to leave a comment.