Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt displays '2' character around user@host section #304

Closed
patricklewis opened this issue Oct 17, 2022 · 1 comment · Fixed by #305
Closed

Prompt displays '2' character around user@host section #304

patricklewis opened this issue Oct 17, 2022 · 1 comment · Fixed by #305

Comments

@patricklewis
Copy link

Env

Pure

4.3.0

Fish

3.5.1, 3.3.1

OS/distribution

Ubuntu 20.04.5, Debian 11

Problem description

I recently upgraded to Pure 4.3.0 from an earlier version and am now seeing some unwanted characters in my prompt, a '2' character is displayed on both sides of the <user@host> section of the prompt when I am SSH'd into either of my two Linux boxes:

image

image

I do not have any Pure-related variables set in my Fish config on either server.

@patricklewis
Copy link
Author

I reverted the change on line 12 of the _pure_user_at_host.fish file from commit 6fbf483 and that fixed this issue for me.

before:

echo "2<$username_color$username$at_sign_color$at_sign$hostname_color$hostname>2"

after:

echo "$username_color$username$at_sign_color$at_sign$hostname_color$hostname"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant