gnome-terminal hides ending characters of the current path's first row Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)No line breaks in first line in terminalGnome Terminal Column/Row Width?The GNOME Terminal is very slow in GNOME 3Help with bash script with textweird characters in TerminalKeyboards writes “bad” space characters in gnome terminaloverlapping characters in terminalGNOME Terminal Title as Number/Position of the tabgnome-terminal vim strange charactersgnome-terminal highlight URLs ending in close-parenLaunch command in gnome-terminal, then close gnome-terminal without ending executed command?
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
How do I automatically answer y in bash script?
Cauchy Sequence Characterized only By Directly Neighbouring Sequence Members
How can I make names more distinctive without making them longer?
Unable to start mainnet node docker container
How do you clear the ApexPages.getMessages() collection in a test?
Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?
I'm having difficulty getting my players to do stuff in a sandbox campaign
Slither Like a Snake
3 doors, three guards, one stone
Why does this iterative way of solving of equation work?
Do working physicists consider Newtonian mechanics to be "falsified"?
Classification of bundles, Postnikov towers, obstruction theory, local coefficients
Unexpected result with right shift after bitwise negation
I'm thinking of a number
How do I keep my slimes from escaping their pens?
Can a monk deflect thrown melee weapons?
Windows 10: How to Lock (not sleep) laptop on lid close?
Direct Experience of Meditation
Estimate capacitor parameters
New Order #5: where Fibonacci and Beatty meet at Wythoff
What do you call the holes in a flute?
Is there folklore associating late breastfeeding with low intelligence and/or gullibility?
Writing Thesis: Copying from published papers
gnome-terminal hides ending characters of the current path's first row
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)No line breaks in first line in terminalGnome Terminal Column/Row Width?The GNOME Terminal is very slow in GNOME 3Help with bash script with textweird characters in TerminalKeyboards writes “bad” space characters in gnome terminaloverlapping characters in terminalGNOME Terminal Title as Number/Position of the tabgnome-terminal vim strange charactersgnome-terminal highlight URLs ending in close-parenLaunch command in gnome-terminal, then close gnome-terminal without ending executed command?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm using Ubuntu-18.04.2's original ~/.bashrc
file and I have done no changes in any original files.
Do Ubuntu 18.04.2 users experience the problem I'm going to describe to you down below? Let me know, please.
I've noticed weird behaviors by varying either the current path's length or the gnome-terminal's width. I'll give you an example (I use the character |
to indicate the window's right border):
username@hostname:/directory/directory/directory/dire |
ory/directory/directory/directory$ |
As you can see, at the first row, Ubuntu terminal hides the string "ct" of the word "directory"; the other rows are fine.
I said the string "ct" is hidden because, if I resize the window width, that reappears but other two characters are hidden. For example:
username@hostname:/directory/directory/directory/di |
ctory/directory/directory/directory$ |
This time the string "re" is hidden. The problem always occurs at the first row!
I've done some experiments and noticed different "weird" behaviors by varying either the current path's length or the window width. I can identify five cases:
- If the current path's length is short, I might resize the window width but every row would be still fine (no hidden characters at any rows);
- if I increase the length of a little bit (for example adding a directory), the first row's last character is hidden;
- If I use
cd ..
command to return untill the point 1 length and resize the window enough to make the path takes more than one row, five characters are hidden (same length but different behavior); By varying the window width, part of the row is overwritten as in the following examples: ........
m$ rname@hostname:/directory/directory/directory/directory |
$ ername@hostname:/directory/directory/directory/directory |
In the first example, the substring "use" is deleted and the character 'm' appears out of nowhere! The second example occurs if I shorten the window width a little bit: as you can see the substring "us" is deleted. In both cases, gnome-terminal lets me write commands over that line which would be deleted as I type.
- If I'm inside a directory with a short name such as /usr or /home, the problem doesn't occur because I can't shorten the window enough. However, If I create a long 1st-level directory (e.g. /directorydirectorydirectorydirectorydirectory), I get the following behaviors by resizing the window width:
username@hostname:/directorydirectorydirectorydirectorydirector |
m$
username@hostname:/directorydirectorydirectorydirectorydirecto |
$
username@hostname:/directorydirectorydirectorydirectorydirect |
$ y
username@hostname:/directorydirectorydirectorydirectorydirec |
square box with 0010 inside[[00m$
username@hostname:/directorydirectorydirectorydirectorydire |
$ ory
username@hostname:/directorydirectorydirectorydirectorydir |
y$ ory
username@hostname:/directorydirectorydirectorydirectorydi |
ry$ or
username@hostname:/directorydirectorydirectorydirectoryd |
ory$ o
username@hostname:/directorydirectorydirectorydirectory |
tory$
$ grep PS1 ~/.bashrc
PS1='$debian_chroot:+($debian_chroot)[33[01;32m]u@h[33[00m]:[33[01;34m]w[33[00m]$ '
PS1='$debian_chroot:+($debian_chroot)u@h:w$ '
PS1="[e]0;$debian_chroot:+($debian_chroot)u@h: wa]$PS1"
$ printf '%qn' "$PS1"
\[\e]0;\u@\h: \w\a\]$debian_chroot:+($debian_chroot)\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
$ printf '%qn' "$PROMPT_COMMAND"
''
command-line 18.04 gnome bash gnome-terminal
|
show 17 more comments
I'm using Ubuntu-18.04.2's original ~/.bashrc
file and I have done no changes in any original files.
Do Ubuntu 18.04.2 users experience the problem I'm going to describe to you down below? Let me know, please.
I've noticed weird behaviors by varying either the current path's length or the gnome-terminal's width. I'll give you an example (I use the character |
to indicate the window's right border):
username@hostname:/directory/directory/directory/dire |
ory/directory/directory/directory$ |
As you can see, at the first row, Ubuntu terminal hides the string "ct" of the word "directory"; the other rows are fine.
I said the string "ct" is hidden because, if I resize the window width, that reappears but other two characters are hidden. For example:
username@hostname:/directory/directory/directory/di |
ctory/directory/directory/directory$ |
This time the string "re" is hidden. The problem always occurs at the first row!
I've done some experiments and noticed different "weird" behaviors by varying either the current path's length or the window width. I can identify five cases:
- If the current path's length is short, I might resize the window width but every row would be still fine (no hidden characters at any rows);
- if I increase the length of a little bit (for example adding a directory), the first row's last character is hidden;
- If I use
cd ..
command to return untill the point 1 length and resize the window enough to make the path takes more than one row, five characters are hidden (same length but different behavior); By varying the window width, part of the row is overwritten as in the following examples: ........
m$ rname@hostname:/directory/directory/directory/directory |
$ ername@hostname:/directory/directory/directory/directory |
In the first example, the substring "use" is deleted and the character 'm' appears out of nowhere! The second example occurs if I shorten the window width a little bit: as you can see the substring "us" is deleted. In both cases, gnome-terminal lets me write commands over that line which would be deleted as I type.
- If I'm inside a directory with a short name such as /usr or /home, the problem doesn't occur because I can't shorten the window enough. However, If I create a long 1st-level directory (e.g. /directorydirectorydirectorydirectorydirectory), I get the following behaviors by resizing the window width:
username@hostname:/directorydirectorydirectorydirectorydirector |
m$
username@hostname:/directorydirectorydirectorydirectorydirecto |
$
username@hostname:/directorydirectorydirectorydirectorydirect |
$ y
username@hostname:/directorydirectorydirectorydirectorydirec |
square box with 0010 inside[[00m$
username@hostname:/directorydirectorydirectorydirectorydire |
$ ory
username@hostname:/directorydirectorydirectorydirectorydir |
y$ ory
username@hostname:/directorydirectorydirectorydirectorydi |
ry$ or
username@hostname:/directorydirectorydirectorydirectoryd |
ory$ o
username@hostname:/directorydirectorydirectorydirectory |
tory$
$ grep PS1 ~/.bashrc
PS1='$debian_chroot:+($debian_chroot)[33[01;32m]u@h[33[00m]:[33[01;34m]w[33[00m]$ '
PS1='$debian_chroot:+($debian_chroot)u@h:w$ '
PS1="[e]0;$debian_chroot:+($debian_chroot)u@h: wa]$PS1"
$ printf '%qn' "$PS1"
\[\e]0;\u@\h: \w\a\]$debian_chroot:+($debian_chroot)\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
$ printf '%qn' "$PROMPT_COMMAND"
''
command-line 18.04 gnome bash gnome-terminal
1
Do you use Ubuntu’s standard terminal emulatorgnome-terminal
? Please edit and add this information as well as the output ofgrep PS1 ~/.bashrc
in a code block (button).
– dessert
Apr 10 at 21:19
3
Possible duplicate of My terminal wont break line in first line There are many duplicates to this question in Unix&Linux and Stack Overflow sister sites to Ask Ubuntu. A quick google search will give you lots of validation.
– WinEunuuchs2Unix
Apr 11 at 11:52
1
OK, the PS1 and PROMPT_COMMAND are good. (I forgot how verboseprintf %q
is so I skipped reading them- set them myself but couldn't reproduce the issue, though I'm not using 18.04.)
– wjandrea
2 days ago
1
VTR since OP has not modified the bashrc (and anyway I've tested the PS1 and it's fine), so the duplicate doesn't apply.
– wjandrea
yesterday
1
Do you have some special characters in either your username or hostname that could mess with the character counting?
– muclux
16 hours ago
|
show 17 more comments
I'm using Ubuntu-18.04.2's original ~/.bashrc
file and I have done no changes in any original files.
Do Ubuntu 18.04.2 users experience the problem I'm going to describe to you down below? Let me know, please.
I've noticed weird behaviors by varying either the current path's length or the gnome-terminal's width. I'll give you an example (I use the character |
to indicate the window's right border):
username@hostname:/directory/directory/directory/dire |
ory/directory/directory/directory$ |
As you can see, at the first row, Ubuntu terminal hides the string "ct" of the word "directory"; the other rows are fine.
I said the string "ct" is hidden because, if I resize the window width, that reappears but other two characters are hidden. For example:
username@hostname:/directory/directory/directory/di |
ctory/directory/directory/directory$ |
This time the string "re" is hidden. The problem always occurs at the first row!
I've done some experiments and noticed different "weird" behaviors by varying either the current path's length or the window width. I can identify five cases:
- If the current path's length is short, I might resize the window width but every row would be still fine (no hidden characters at any rows);
- if I increase the length of a little bit (for example adding a directory), the first row's last character is hidden;
- If I use
cd ..
command to return untill the point 1 length and resize the window enough to make the path takes more than one row, five characters are hidden (same length but different behavior); By varying the window width, part of the row is overwritten as in the following examples: ........
m$ rname@hostname:/directory/directory/directory/directory |
$ ername@hostname:/directory/directory/directory/directory |
In the first example, the substring "use" is deleted and the character 'm' appears out of nowhere! The second example occurs if I shorten the window width a little bit: as you can see the substring "us" is deleted. In both cases, gnome-terminal lets me write commands over that line which would be deleted as I type.
- If I'm inside a directory with a short name such as /usr or /home, the problem doesn't occur because I can't shorten the window enough. However, If I create a long 1st-level directory (e.g. /directorydirectorydirectorydirectorydirectory), I get the following behaviors by resizing the window width:
username@hostname:/directorydirectorydirectorydirectorydirector |
m$
username@hostname:/directorydirectorydirectorydirectorydirecto |
$
username@hostname:/directorydirectorydirectorydirectorydirect |
$ y
username@hostname:/directorydirectorydirectorydirectorydirec |
square box with 0010 inside[[00m$
username@hostname:/directorydirectorydirectorydirectorydire |
$ ory
username@hostname:/directorydirectorydirectorydirectorydir |
y$ ory
username@hostname:/directorydirectorydirectorydirectorydi |
ry$ or
username@hostname:/directorydirectorydirectorydirectoryd |
ory$ o
username@hostname:/directorydirectorydirectorydirectory |
tory$
$ grep PS1 ~/.bashrc
PS1='$debian_chroot:+($debian_chroot)[33[01;32m]u@h[33[00m]:[33[01;34m]w[33[00m]$ '
PS1='$debian_chroot:+($debian_chroot)u@h:w$ '
PS1="[e]0;$debian_chroot:+($debian_chroot)u@h: wa]$PS1"
$ printf '%qn' "$PS1"
\[\e]0;\u@\h: \w\a\]$debian_chroot:+($debian_chroot)\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
$ printf '%qn' "$PROMPT_COMMAND"
''
command-line 18.04 gnome bash gnome-terminal
I'm using Ubuntu-18.04.2's original ~/.bashrc
file and I have done no changes in any original files.
Do Ubuntu 18.04.2 users experience the problem I'm going to describe to you down below? Let me know, please.
I've noticed weird behaviors by varying either the current path's length or the gnome-terminal's width. I'll give you an example (I use the character |
to indicate the window's right border):
username@hostname:/directory/directory/directory/dire |
ory/directory/directory/directory$ |
As you can see, at the first row, Ubuntu terminal hides the string "ct" of the word "directory"; the other rows are fine.
I said the string "ct" is hidden because, if I resize the window width, that reappears but other two characters are hidden. For example:
username@hostname:/directory/directory/directory/di |
ctory/directory/directory/directory$ |
This time the string "re" is hidden. The problem always occurs at the first row!
I've done some experiments and noticed different "weird" behaviors by varying either the current path's length or the window width. I can identify five cases:
- If the current path's length is short, I might resize the window width but every row would be still fine (no hidden characters at any rows);
- if I increase the length of a little bit (for example adding a directory), the first row's last character is hidden;
- If I use
cd ..
command to return untill the point 1 length and resize the window enough to make the path takes more than one row, five characters are hidden (same length but different behavior); By varying the window width, part of the row is overwritten as in the following examples: ........
m$ rname@hostname:/directory/directory/directory/directory |
$ ername@hostname:/directory/directory/directory/directory |
In the first example, the substring "use" is deleted and the character 'm' appears out of nowhere! The second example occurs if I shorten the window width a little bit: as you can see the substring "us" is deleted. In both cases, gnome-terminal lets me write commands over that line which would be deleted as I type.
- If I'm inside a directory with a short name such as /usr or /home, the problem doesn't occur because I can't shorten the window enough. However, If I create a long 1st-level directory (e.g. /directorydirectorydirectorydirectorydirectory), I get the following behaviors by resizing the window width:
username@hostname:/directorydirectorydirectorydirectorydirector |
m$
username@hostname:/directorydirectorydirectorydirectorydirecto |
$
username@hostname:/directorydirectorydirectorydirectorydirect |
$ y
username@hostname:/directorydirectorydirectorydirectorydirec |
square box with 0010 inside[[00m$
username@hostname:/directorydirectorydirectorydirectorydire |
$ ory
username@hostname:/directorydirectorydirectorydirectorydir |
y$ ory
username@hostname:/directorydirectorydirectorydirectorydi |
ry$ or
username@hostname:/directorydirectorydirectorydirectoryd |
ory$ o
username@hostname:/directorydirectorydirectorydirectory |
tory$
$ grep PS1 ~/.bashrc
PS1='$debian_chroot:+($debian_chroot)[33[01;32m]u@h[33[00m]:[33[01;34m]w[33[00m]$ '
PS1='$debian_chroot:+($debian_chroot)u@h:w$ '
PS1="[e]0;$debian_chroot:+($debian_chroot)u@h: wa]$PS1"
$ printf '%qn' "$PS1"
\[\e]0;\u@\h: \w\a\]$debian_chroot:+($debian_chroot)\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
$ printf '%qn' "$PROMPT_COMMAND"
''
command-line 18.04 gnome bash gnome-terminal
command-line 18.04 gnome bash gnome-terminal
edited 16 hours ago
John Doe
asked Apr 10 at 19:14
John DoeJohn Doe
1701214
1701214
1
Do you use Ubuntu’s standard terminal emulatorgnome-terminal
? Please edit and add this information as well as the output ofgrep PS1 ~/.bashrc
in a code block (button).
– dessert
Apr 10 at 21:19
3
Possible duplicate of My terminal wont break line in first line There are many duplicates to this question in Unix&Linux and Stack Overflow sister sites to Ask Ubuntu. A quick google search will give you lots of validation.
– WinEunuuchs2Unix
Apr 11 at 11:52
1
OK, the PS1 and PROMPT_COMMAND are good. (I forgot how verboseprintf %q
is so I skipped reading them- set them myself but couldn't reproduce the issue, though I'm not using 18.04.)
– wjandrea
2 days ago
1
VTR since OP has not modified the bashrc (and anyway I've tested the PS1 and it's fine), so the duplicate doesn't apply.
– wjandrea
yesterday
1
Do you have some special characters in either your username or hostname that could mess with the character counting?
– muclux
16 hours ago
|
show 17 more comments
1
Do you use Ubuntu’s standard terminal emulatorgnome-terminal
? Please edit and add this information as well as the output ofgrep PS1 ~/.bashrc
in a code block (button).
– dessert
Apr 10 at 21:19
3
Possible duplicate of My terminal wont break line in first line There are many duplicates to this question in Unix&Linux and Stack Overflow sister sites to Ask Ubuntu. A quick google search will give you lots of validation.
– WinEunuuchs2Unix
Apr 11 at 11:52
1
OK, the PS1 and PROMPT_COMMAND are good. (I forgot how verboseprintf %q
is so I skipped reading them- set them myself but couldn't reproduce the issue, though I'm not using 18.04.)
– wjandrea
2 days ago
1
VTR since OP has not modified the bashrc (and anyway I've tested the PS1 and it's fine), so the duplicate doesn't apply.
– wjandrea
yesterday
1
Do you have some special characters in either your username or hostname that could mess with the character counting?
– muclux
16 hours ago
1
1
Do you use Ubuntu’s standard terminal emulator
gnome-terminal
? Please edit and add this information as well as the output of grep PS1 ~/.bashrc
in a code block (
button).– dessert
Apr 10 at 21:19
Do you use Ubuntu’s standard terminal emulator
gnome-terminal
? Please edit and add this information as well as the output of grep PS1 ~/.bashrc
in a code block (
button).– dessert
Apr 10 at 21:19
3
3
Possible duplicate of My terminal wont break line in first line There are many duplicates to this question in Unix&Linux and Stack Overflow sister sites to Ask Ubuntu. A quick google search will give you lots of validation.
– WinEunuuchs2Unix
Apr 11 at 11:52
Possible duplicate of My terminal wont break line in first line There are many duplicates to this question in Unix&Linux and Stack Overflow sister sites to Ask Ubuntu. A quick google search will give you lots of validation.
– WinEunuuchs2Unix
Apr 11 at 11:52
1
1
OK, the PS1 and PROMPT_COMMAND are good. (I forgot how verbose
printf %q
is so I skipped reading them- set them myself but couldn't reproduce the issue, though I'm not using 18.04.)– wjandrea
2 days ago
OK, the PS1 and PROMPT_COMMAND are good. (I forgot how verbose
printf %q
is so I skipped reading them- set them myself but couldn't reproduce the issue, though I'm not using 18.04.)– wjandrea
2 days ago
1
1
VTR since OP has not modified the bashrc (and anyway I've tested the PS1 and it's fine), so the duplicate doesn't apply.
– wjandrea
yesterday
VTR since OP has not modified the bashrc (and anyway I've tested the PS1 and it's fine), so the duplicate doesn't apply.
– wjandrea
yesterday
1
1
Do you have some special characters in either your username or hostname that could mess with the character counting?
– muclux
16 hours ago
Do you have some special characters in either your username or hostname that could mess with the character counting?
– muclux
16 hours ago
|
show 17 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132809%2fgnome-terminal-hides-ending-characters-of-the-current-paths-first-row%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132809%2fgnome-terminal-hides-ending-characters-of-the-current-paths-first-row%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Do you use Ubuntu’s standard terminal emulator
gnome-terminal
? Please edit and add this information as well as the output ofgrep PS1 ~/.bashrc
in a code block (button).
– dessert
Apr 10 at 21:19
3
Possible duplicate of My terminal wont break line in first line There are many duplicates to this question in Unix&Linux and Stack Overflow sister sites to Ask Ubuntu. A quick google search will give you lots of validation.
– WinEunuuchs2Unix
Apr 11 at 11:52
1
OK, the PS1 and PROMPT_COMMAND are good. (I forgot how verbose
printf %q
is so I skipped reading them- set them myself but couldn't reproduce the issue, though I'm not using 18.04.)– wjandrea
2 days ago
1
VTR since OP has not modified the bashrc (and anyway I've tested the PS1 and it's fine), so the duplicate doesn't apply.
– wjandrea
yesterday
1
Do you have some special characters in either your username or hostname that could mess with the character counting?
– muclux
16 hours ago