-
Notifications
You must be signed in to change notification settings - Fork 1
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
Let -s ignore number prefix of script to include #3
Comments
In retrospect, the commandline usability of demlo suffers from debatable design decisions.
I think there originally were a few reason as for why
Completion does not work on |
Other points unrelated to your request, but I'm curious if you'd have any comment on this.
|
|
|
(2) I've dumped zsh a long time ago... Too much insanity there for me, sorry :p I'll welcome any contribution however, obviously. (4) You meant |
(2) Yeah it's hella complicated for sure. I'll look into it at some point. (3) Yep I'd also love any feedback you have on my demloconf repo that I linked above; I've worked on it a whole lot! |
Fixed in 285f069. |
@fictionic Let me know if that works for you. |
The indeces of the scripts are an implementation detail that the user should not need to worry about. The user only cares about the functionality of the included script, which is indicated in the main part of the name. E.g.
-s cover
vs-s 70-cover
.Another, more drastic idea would be to make
-s
work exactly like-r
—that is, make it include all scripts whose name match the provided regex. This is desirable for the same reason as it is for-r
. Suppose you have two scripts that deal with file tags (as I do):10-tag-fields
and11-tag-contents
. If you want to run only those scripts, you'd need to do-r '' -s 10-tag-fields -s 11-tag-contents
. With the regex strategy, this becomes-r '' -s tag
. This also occurs when the scripts you want to include are not run by default.What do you think?
The text was updated successfully, but these errors were encountered: