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

pass command name to commands in args[0] #8

Open
danyisill opened this issue Mar 20, 2020 · 4 comments
Open

pass command name to commands in args[0] #8

danyisill opened this issue Mar 20, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@danyisill
Copy link
Collaborator

I mean, that's how it works in C.

@danyisill danyisill added the enhancement New feature or request label Mar 20, 2020
@Demonstrandum
Copy link
Collaborator

That means I'll have to add one to every index I used in the whole program

@Demonstrandum
Copy link
Collaborator

Demonstrandum commented Mar 20, 2020

You already know what the command name is based on the filename too innit

@danyisill
Copy link
Collaborator Author

Yeah but .alias should have alias name in args[0] and not the actual command.

@Demonstrandum
Copy link
Collaborator

arg[0] does have the alias name in it when calling !alias, or are you talking about the expansion of the alias?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants