You are not logged in.

#1 2018-03-18 18:05:48

antlord
Member
Registered: 2016-09-28
Posts: 12

[SOLVED] Tilde in prompt

Hello! I've got an inconvinient thing that is expanded tilde in my prompt. It happens in zsh, bash, sh but it doesn't happen for root user. Also, I created new user getting the same issue. Take a look at the screenshot https://www.dropbox.com/s/sa09nnpquk861 … 6.png?dl=0
It's not critical but it makes a sort of inconvenience. Thanks in advance

Last edited by antlord (2018-03-19 10:01:27)

Offline

#2 2018-03-18 20:08:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: [SOLVED] Tilde in prompt

And what is your PS1?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2018-03-19 09:36:50

antlord
Member
Registered: 2016-09-28
Posts: 12

Re: [SOLVED] Tilde in prompt

My bad. Look

[uantlord@sam ~]$
[uantlord@sam ~]$ cd
[uantlord@sam uantlord]$ echo $PS1
[\u@\h \W]\$

Offline

#4 2018-03-19 10:01:03

antlord
Member
Registered: 2016-09-28
Posts: 12

Re: [SOLVED] Tilde in prompt

Ok. There was mistake in /etc/passwd. I pointed home directory with tail slash. I fixed it and reboot the pc. Solved!

Offline

Board footer

Powered by FluxBB