-
Notifications
You must be signed in to change notification settings - Fork 44
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
bottom: Same problem as with bat #260
Comments
Next, no joke, tried btop - similar problem with the choosing of the binary. Here you took the license file, which does not even contain the word btop, strange. Guess because the archive unpacks to 'btop' (?) root@ax-proxy:~/foo# curl -sL https://github.com/aristocratos/btop/releases/download/v1.3.2/btop-x86_64-linux-musl.tbz > xxx.tbz
root@ax-proxy:~/foo# tar -xjf xxx.tbz
root@ax-proxy:~/foo# btop/bin/btop --version
btop version: 1.3.2
root@ax-proxy:~/foo# btop
2024-07-26T04:36:38+02:00 FTL unable to execute btop error="exec format error"
root@ax-proxy:~/foo# head ../.binenv/binaries/btop/1.3.2
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Guess I'd apply suggestion number 7, exact match when in doubt. If > 1 match exact, check for exec flag. If still > 1: biggest one is it :-) |
You're a gold digger mate 😂
|
"Everything I touch breaks" as my wife would put it :-/
Imho "btop" shows, that there must be a problematic behaviour in the matcher - you seem to not just search the configured string on the filename but on the whole relative filepath. And then, the simple checking for exe perms are not enough, e.g. I'd remove that and match only the filename.
Can provide you with a line or 2 of bash which does that but I guess you want 100% go. |
Sry for the noise and no stress - but after trying bat, tried bottom - and they ship now also with completion file
i.e. you need also here the
"^btm$"
instead the-btm
.manual download:
Hmm, that's not so good, when authors add completion files to their releases.
Maybe(?), when trying to identifying the binary and >1 match, a few options which come to my mind:
file
is not always there)Guess 7, 2 and/or 3 would elimate most of such probs, no?
Cheers, I love this tool, fastest installer of them all 💟
The text was updated successfully, but these errors were encountered: