On 10/10/2008, at 5:12 PM, Nathan Kroenert wrote:
> On 10/10/08 05:06 PM, Boyd Adamson wrote:
>> Alex Peng <[EMAIL PROTECTED]> writes:
>>> Is it fun to have autocomplete in zpool or zfs command?
>>>
>>> For instance -
>>>
>>>"zfs cr 'Tab key' " will become "zfs create"
>>>"zfs clone 'Tab k
Tim Foster wrote:
> On Thu, 2008-10-09 at 22:40 -0700, Alex Peng wrote:
>> Is it fun to have autocomplete in zpool or zfs command?
>>
>> For instance -
>>
>> "zfs cr 'Tab key' " will become "zfs create"
>> "zfs clone 'Tab key' " will show me the available snapshots
>> "zfs set 'Tab key'
On Thu, 2008-10-09 at 22:40 -0700, Alex Peng wrote:
> Is it fun to have autocomplete in zpool or zfs command?
>
> For instance -
>
> "zfs cr 'Tab key' " will become "zfs create"
> "zfs clone 'Tab key' " will show me the available snapshots
> "zfs set 'Tab key' " will show me the avail
Hm -
This caused me to ask the question: Who keeps the capabilities in sync?
Is there a programmatic way we can have bash (or other shells)
interrogate zpool and zfs to find out what it's capabilities are?
I'm thinking something like having bash spawn a zfs command to see what
options are avai
Alex Peng <[EMAIL PROTECTED]> writes:
> Is it fun to have autocomplete in zpool or zfs command?
>
> For instance -
>
> "zfs cr 'Tab key' " will become "zfs create"
> "zfs clone 'Tab key' " will show me the available snapshots
> "zfs set 'Tab key' " will show me the available properties,
Is it fun to have autocomplete in zpool or zfs command?
For instance -
"zfs cr 'Tab key' " will become "zfs create"
"zfs clone 'Tab key' " will show me the available snapshots
"zfs set 'Tab key' " will show me the available properties, then "zfs set
com 'Tab key'" will become "zfs se