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

[BUG] ptpwd outputs weirdly many lines #48

Open
Mellbourn opened this issue Mar 27, 2022 · 4 comments
Open

[BUG] ptpwd outputs weirdly many lines #48

Mellbourn opened this issue Mar 27, 2022 · 4 comments
Labels
Bug Something isn't working

Comments

@Mellbourn
Copy link

Describe the bug
The ptpwd command outputs a very large number of lines.

To Reproduce
ptpwd

Expected behavior
Printing current working directory

Screenshots/terminal output
A very large number of lines, mostly empty, some of them contains strange L-like characters:

                                                                                                                └ 

Desktop

  • OS/Linux distro: macOS Monterey 12.3
@Mellbourn Mellbourn added the Bug Something isn't working label Mar 27, 2022
@jszczerbinsky
Copy link
Owner

Your terminal font has to support chars specified in config file, I suggest installing NerdFonts.

This L-like char is default character, used in ptpwd (see here)

You can replace currently used symbols in config file:

  1. Open config file: ~/.config/ptSh/config
  2. Replace any not-working character with anything you want

@Mellbourn
Copy link
Author

I have NerdFonts installed (https://github.com/adam7/delugia-code). So the L-like character looks correct to me.

Commenting out all of the config did not help. Replacing PWD_DIR_SEPARATOR* with ASCII characters did not fix it either (but did show those characters).

@jszczerbinsky
Copy link
Owner

Try ptpwd -L, this will skip realpath function, maybe this is the problem

@Mellbourn
Copy link
Author

Mellbourn commented Mar 28, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants