Skip to content

Console text issue

Not downloaded yet

I switched from bash to zsh along with prezto. I am pretty sure I installed everything correctly but I am new to linux so I could be wrong. I am using urxvt on bspwm. This is what my terminal looks like: http://imgur.com/vZcFVBY

Thank you for helping

1 points10 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Image
ID
3imdri

Author

1
posts
6
comments
1
media
View profile

10 comments

Just to clarify, the issue is the â appearing. I also don't have the whole machine@user $ thing when logging in. Instead I just have a small black box

1 points

The prompt text is defined in the environment variable $PS1. I would check ~/.zshrc to see if there's a weird definition there. If not, maybe check the other configuration files listed here.

You can change $PS1 to whatever you want. There's lots of customized ones to be found on the internet. There's probably a default one found in /etc/zsh/zshrc.

Hopefully that helps.

1 points

Alright, I also changed my LANG=en_CA.UTF-8 to LANG=en_US.UTF-8. The a's have changed to boxes once i did that. I dont know what that means but something changed ahah

1 points

The accented letter is a broken locale. The box is a shitty font that doesn't support the character. May I suggest source code pro from the repositories?

You then have to put it in xresources. If you want a very wide range of somewhat ugly Unicode as a fallback, install unifont and add it to xresources.

1 points

Thank you for helping, The issue that occurred was that font size 10 didn't work. Every other size worked fine with Unicode. Strange but I'm just glad its fixed.

1 points

It seems almost like there's an issue displaying the Unicode font

1 points

i usually install google fonts from the aur and dejavu, i think dejavu will fix the icons. also, zsh with prezto doesnt show the user@host part, just the prompt.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.