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

Inconsistent spacing between file properties and username with long view #179

Open
ghost opened this issue May 26, 2023 · 10 comments
Open

Comments

@ghost
Copy link

ghost commented May 26, 2023

Awesome package, thank you.

When running with the --long flag, sometimes I notice a space of 2-3 characters between the properties (.rw-r--r--) and username (anticipated behavior, nice output).

However, upon running something like erd -l again, the spacing between the properties and user might change to 10 characters, then the next time revert to normal, then the next time change to 30 characters, etc.

I'm running Fedora 38. The above behavior is observed in Kitty, Alacritty, and Terminal. I installed via Brew and also tried latest GH release (erd-v3.0.0-aarch64-unknown-linux-gnu.tar.gz).

@solidiquis
Copy link
Owner

solidiquis commented May 26, 2023

Interesting. Would you happen to have a screenshot?

Edit: this happens when you run the same command multiple times?

@ghost
Copy link
Author

ghost commented May 26, 2023

Here you go:

Screenshot from 2023-05-26 08-18-43

@solidiquis
Copy link
Owner

That is so strange.. I'm doing the same thing on Alacritty and can't seem to replicate this issue. This is happening consistently for you across Kitty, Alacritty, and Terminal? Are you running TMUX by change?

Screen Shot 2023-05-25 at 6 22 34 PM

@ghost
Copy link
Author

ghost commented May 26, 2023

Yes, the behavior is observed in all 3 terminals and I'm not running Tmux. Let me try again with no config file....yup, when I remove kitty.conf, it still happens.

@solidiquis
Copy link
Owner

Do you still happen to get the same issue when running this with --color none ?

@ghost
Copy link
Author

ghost commented May 26, 2023

I noted some weird behavior. I just ran erd -l --color none in a bunch of directories. One thing I noticed was that one time I ran it, my username was replaced with colordx995:994. Unfortunately, using --color none didn't help, though.

Another interesting thing that I noticed was that the issue only seems to happen in directories that contain directories. When I run erd -l in a directory containing only files, the output is fine.

@solidiquis
Copy link
Owner

My last question is before I try to replicate this.. did you happen to edit your LS_COLORS environment variable?

@ghost
Copy link
Author

ghost commented May 26, 2023

Good idea! I did not do that, but let me try running again with the default bashrc (on Fedora, /etc/bashrc)...... No change :(

@ghost
Copy link
Author

ghost commented Jul 11, 2023

i close this issue because you obviously hate fedora users.

fedora users: install this "package" (if you want to call it that) via distrobox, or else ignore it entirely (recommended).

@solidiquis
Copy link
Owner

solidiquis commented Jul 11, 2023

Listen—I'm doing this as a labor of love with whatever free-time I can manage to scrape as someone with a full-time job and a father who is in critical condition from Type II diabetes, Hep C, and chronic kidney failure.

I'm sorry that I'm not able to address this issue at a velocity that pleases you but that's just what you get with FOSS sometimes; but the beauty of FOSS is that you have just as much power to help fix the issue as well as someone who uses Fedora—that would actually be very much appreciated. Otherwise please don't go making such claims.

Edit: And rest assured that if the issue exists I can see it.

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

No branches or pull requests

2 participants
@solidiquis and others