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

Commands as shortcuts-aliases #24

Closed
nikoskip opened this issue Jun 22, 2013 · 4 comments
Closed

Commands as shortcuts-aliases #24

nikoskip opened this issue Jun 22, 2013 · 4 comments

Comments

@nikoskip
Copy link

First of all, great project! I come from original Console 2 and this improved version is amazing.

I always have to repeat a lot of commands over and over again, it would be great if you can implement aliases in this version, so you only have to type the short alias name and press enter or tab. Maybe do something like snippets in Sublime Text 2, imagine a list of snippets like - with an GUI if you want to -:

<name>Some command</name>
<command>some very-large {$1} command -{$2}</command>
<alias>sv</alias>

And next you write in Console 2

sv /one -parameter/two

And it will execute

some very-large /one command -parameter/two

What do you think?

@cbucher
Copy link
Owner

cbucher commented Jun 22, 2013

Hi
Thx

Console2 or ConsoleZ are not shells.
Only shell can interprets inputs.
Most of shells support aliases, functions or scripting.

@nikoskip
Copy link
Author

:(

So there is no way to catch the command before execute it?

@cbucher
Copy link
Owner

cbucher commented Jun 24, 2013

Not at ConsoleZ level.
But use your shell features 😉

@nikoskip
Copy link
Author

Thanks @cbucher I will try them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants