Hello, world
I no longer use manjaro (I use arch btw) but I seem to remember that manjaro had a cool feature where if you open zsh with a terminal that doesn’t support unicode it would show a simplified version of the promt. would anyone know where I could find the script that does this?
PS: (I already have the manjaro zsh and bash configs installed so it isn’t in those)
PPS: (I might be totaly misremembering this and this feature may have never existed)
PPPS: (I use arch btw)
edit: I just opened an emacs terminal and it had the simplified prompt. So I do have it installed.
my question then becomes how could I force-activate this (my ssh terminal tells the host that it supports unicode but it actually doesn’t)
But since you are using Arch I suggest you ask in their dedicated forum
True, but since this is the manjaro zsh theme I tought this might be the right place to ask.
I will have a closer look at ~/.zshrc I might find something usefull
I meant the remote ~/.zshrc and I found it
if you replace USE_POWERLINE=true with
if [[ ${SSH_TTY} ]] ; then
USE_POWERLINE="false"
else
USE_POWERLINE="true"
fi
then it will show the ASCII promt when in zsh and the unicode prompt when using a normal terminal (this won’t override the default behavior of using an ASCII prompt when using an ASCII terminal)
note: this might not work with su (it works for me)