-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
feat: Add basename support #155 #216
Conversation
Thanks for this contribution! I think this is a great feature, and perhaps should even be the default behavior. I do think it would be nice if this behavior could also be switched from the command-line. It would be neat if the same key/letter could be used for the command-line switch and the interactive interface. Unfortunately |
Of course, change is on the way! |
@raboof, please, take a look. Let me know if you find something! Thanks! |
I think you also need to update the manpage in |
Sorry, my bad. |
Now, the user can decide to show only the program name, instead of the full program path. It is useful, when you have a very long hierarchy of directories, which, with the full path name, the user might not see the program name.
Done! |
No worries, nice contribution, thanks! |
Hi, I did this simple implementation, hope it can be useful.
User, can have the choice to see only the program name, instead of the full path.
It seems useful when you have a program that resides on a big directory hierarchy.
I used the b flag, to enable/disable the short process name. I saw, that its the same flag to enable bug hunt mode. I can change, if you request.
This is my first pull request on a project ... So, if I am doing something wrong, please, tell me!
Thanks in advance ...
Best Regards, Matheus Rambo.
Closes #155