#233 [Kinoite] Konsole seems to have issues rendering PS1 regarding with regards to the HOME directory
Closed: Duplicate 2 years ago by siosm. Opened 2 years ago by svin24.

This appears to happen in both release 36 and rawhide.
regardless of the PS1 prompt being custom you will get an output like this:

[john@T440s john]$ 

Which is incorrect and should instead appear like this(notice how it fixed with a cd)

[john@T440s john]$ cd
[john@T440s ~]$ 

This also seems to affect custom $PS1 variables
for example for PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

john@T440s:/var/home/john$ cd
john@T440s:~$ 

This does not appear to affect any gtk terminal emulators or the TTY
I tested it with the Blackbox terminal from flathub.


I cannot reproduce, but I'm using stock home (/home/rdieter) and PS1 values

Either way, it's your shell that generates what is displayed in prompt, not konsole

it seems like the main issue is the fact that it can't handle your home directory being in /var/home/
screenshot from VM with brand new Kinoite 36 installation.
Screenshot_20220811_201843.png

This is likely due to the home directory in the user entry in /etc/passwd not being correct and thus likely a duplicate of https://pagure.io/fedora-kde/SIG/issue/159.

Maybe it's a bug in anaconda. Not sure yet.

Metadata Update from @siosm:
- Issue tagged with: kinoite

2 years ago

I've confirmed that this is the same issue as https://pagure.io/fedora-kde/SIG/issue/159. It's easily fixed locally by fixing the path in /etc/passwd.

Closing as duplicate.

Metadata Update from @siosm:
- Issue close_status updated to: Duplicate
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
Kinoite Status: Done
Attachments 1