-
Notifications
You must be signed in to change notification settings - Fork 179
FR: Custom Command Completions #406
Comments
Can you give an example of this? On Mon, Mar 2, 2015, 15:30 Jackie [email protected] wrote:
|
well, for example, say you type this into the terminal... sai ... there could be two options for that, a) a dropdown thing similar to the command history completion, or b) simply press tab... either method should expand that command to sudo apt-get install and allow you to continue typing the rest of the command. |
Ok. Now I understand you better. That should be very possible. On Mon, Mar 2, 2015 at 4:32 PM, Jackie [email protected] wrote:
|
So basically make Aliases tab complete :) |
pretty much, I guess |
The FR in the title is to mean Feature Request XD
Anyways, ever since I discovered the location of the commands.ftcompletion file I've been toying with it and with an idea of what could be done that is similar... Custom Command Completions! Basically, allow the end user to create a file with the following syntax:
Or something similar at least...
where, basically, it allows you to define a series of custom shortcuts that will appear in the same way as the command history, but works as completions for longer commands, similar to the way some text editors work (refering to sublime text here, as it's pretty much the only editor I have experience with XD ). But if this is doable, it would be pretty awesome.
The text was updated successfully, but these errors were encountered: