mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
QA /technical/2009/08/adaptive-shell-idea/
This commit is contained in:
parent
dd6bab4d06
commit
d193172d8d
1 changed files with 6 additions and 7 deletions
|
@ -1,10 +1,9 @@
|
|||
I had an idea today when navigating around in the shell. All my work related files are stored in <code>~/Work</code>. Under that there's a folder for each project. Sometimes there are multiple variations on a project or project with a similar prefix such as:
|
||||
<ul>
|
||||
<li>radiopaedia</li>
|
||||
<li>radiopaedia-stable</li>
|
||||
<li>radiant-sites</li>
|
||||
</ul>
|
||||
I had an idea today when navigating around in the shell. All my work related files are stored in `~/Work`. Under that there's a folder for each project. Sometimes there are multiple variations on a project or project with a similar prefix such as:
|
||||
|
||||
When I type <code>rad [Tab]</code> in my shell (<a href="http://www.zsh.org/">zsh</a>) it kindly completes this to <code>radi</code> and gives a list of the other completions since there are several to choose from. I though it would be nice if the shell could learn from the choices I make. So if I generally choose radiopaedia then <code>rad [Tab]</code> would complete to radiopaedia but still show the list of option.
|
||||
* radiopaedia
|
||||
* radiopaedia-stable
|
||||
* radiant-sites
|
||||
|
||||
When I type `rad [Tab]` in my shell (<a href="http://www.zsh.org/">zsh</a>) it kindly completes this to `radi` and gives a list of the other completions since there are several to choose from. I though it would be nice if the shell could learn from the choices I make. So if I generally choose radiopaedia then `rad [Tab]` would complete to radiopaedia but still show the list of option.
|
||||
|
||||
I'm sure there are several other areas where an adaptive shell that learnt from usage patterns could be applied.
|
Loading…
Reference in a new issue