Created
March 5, 2021 12:20
-
-
Save slayerlab/47da23fdeebf731cb15ec856d55bf24d to your computer and use it in GitHub Desktop.
Fix Kali Linux terminal display
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
# Check your environment locale: | |
# $ env | grep 'LANG' | |
# GDM_LANG=en_US.utf8 | |
# LANG=en_US.UTF-8 | |
# LANGUAGE=en_US.UTF-8 | |
# Adjust ~/.zshrc | |
# [snippet] | |
if [[ "$color_prompt" = yes ]]; then | |
PROMPT=$'%F{%(#.blue.green)}┌──${debian_chroot:+($debian_chroot)──}(%B%F{%(#.red.blue)}%n%(#.💀.💣)%m%b%F{%(#.blue.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.blue.green)}]\n└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} ' | |
RPROMPT=$'%(?.. %? %F{red}%B⨯%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)' | |
# enable syntax-highlighting | |
# [snippet] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reference: https://www.linuxquestions.org/questions/linux-newbie-8/terminal-doesn%27t-display-unicode-kali-2020-4-zsh-4175685834/page2.html