-
Notifications
You must be signed in to change notification settings - Fork 52
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
Terminal has weird name on NixOS with home-manager #272
Comments
The current implementation parses
I believe we're better off returning the relevant terminfo description |
Ah makes sense
Thats true, I have seen that done a lot
Yeah, I agree, idk if this helps but I found a crate that could aid in this https://crates.io/crates/terminfo |
Yeah it looks like it will, I was never really a fan of our little procfs hack. |
Oh yeah definitely seems pretty hacky |
@grtcdr If you'd like I can write up something with this, just wanna know in case someone has already started on this. |
Absolutely, go ahead! I await the improvements your pull request will bring :) |
You'll have to manually traverse
If it does, and you think the output of |
I've made a PR now! Macchina-CLI/libmacchina#130 |
Thank you, I'll review it as soon as possible :) |
I'm closing this issue due to inactivity. |
Describe the bug
On NixOS under home-manager the terminal app name starts with a
.
and ends with-wrapped
,I know this is because home-manager creates a kitty script which then calls an executable with the name
.kitty-wrapped
as seen below ↓My proposal is to try parsing the
$TERM
or$TERMINFO
environment variables if possibleTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Terminal appears as
kitty
Screenshots
System Information
You don't have to provide this information if you're not comfortable doing so, but it'll help us solve the issue a lot faster.
The text was updated successfully, but these errors were encountered: