Skip to content

Instantly share code, notes, and snippets.

@slayerlab
Created March 5, 2021 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slayerlab/47da23fdeebf731cb15ec856d55bf24d to your computer and use it in GitHub Desktop.
Save slayerlab/47da23fdeebf731cb15ec856d55bf24d to your computer and use it in GitHub Desktop.
Fix Kali Linux terminal display
# 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