FreeBSD Bugzilla – Attachment 89508 Details for
Bug 126457
new completion function for shells/zsh including a backport from zsh CVS and fixes for existing ones
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
_zfs_dataset
_zfs_dataset (text/plain; charset=us-ascii), 674 bytes, created by
baptiste.daroussin
on 2008-08-11 20:54:18 UTC
(
hide
)
Description:
_zfs_dataset
Filename:
MIME Type:
Creator:
baptiste.daroussin
Created:
2008-08-11 20:54:18 UTC
Size:
674 bytes
patch
obsolete
>#autoload > >local -a type typearg list > >zparseopts -D -E -a type t+: > >[[ -n $type[(r)fs] ]] && typearg=( filesystem ) >[[ -n $type[(r)vol] ]] && typearg=( $typearg volume ) >[[ -n $type[(r)snap] ]] && typearg=( $typearg snapshot ) >[[ -n $typearg ]] && typearg=( -t ${(j:,:)typearg} ) > >datasetlist=( ${="$(zfs list -H -o name $typearg)":#no datasets available} ) > >expl_type=${typearg[2,-1]//,/\/} >if [[ -n $type[(r)mtpt] ]]; then > mlist=( ${="$(zfs list -H -o mountpoint $typearg)":#no mountpoints available} ) > datasetlist=( $datasetlist $mlist ) > expl_type="$expl_type/mountpoint" >fi > ># compadd "$@" - $list >_wanted dataset expl "$expl_type" _multi_parts "$@" / datasetlist
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 126457
:
89507
| 89508 |
89509