diff options
author | classabbyamp <void@placeviolette.net> | 2024-02-06 12:41:51 -0800 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2024-02-07 23:50:27 +0100 |
commit | ee7c68cef40403cf654ecf4a8c55a348be28fd90 (patch) | |
tree | e7e6f0a64c74321bdbdefb70439bbf38e4619b21 /_xtools | |
parent | 45cf3ff916a551f42c6bcb2e2101042b58cd0ef8 (diff) | |
download | xtools-ee7c68cef40403cf654ecf4a8c55a348be28fd90.tar.gz xtools-ee7c68cef40403cf654ecf4a8c55a348be28fd90.tar.xz xtools-ee7c68cef40403cf654ecf4a8c55a348be28fd90.zip |
xls: show tree(1)-style output if called as xtree
Closes: #321 [via git-merge-pr]
Diffstat (limited to '_xtools')
-rw-r--r-- | _xtools | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/_xtools b/_xtools index 905f6c0..8284ed0 100644 --- a/_xtools +++ b/_xtools @@ -1,4 +1,4 @@ -#compdef xbuildbarf xbulk xbump xchangelog xcheckrestart xdbg xdiff xdowngrade xgensum xgrep xi xilog xlg xlocate xlog xls xmypkgs xoptdiff xpkg xpkgdiff xq xrecent xrevbump xrevshlib xsrc xsubpkg +#compdef xbuildbarf xbulk xbump xchangelog xcheckrestart xdbg xdiff xdowngrade xgensum xgrep xi xilog xlg xlocate xlog xls xmypkgs xoptdiff xpkg xpkgdiff xq xrecent xrevbump xrevshlib xsrc xsubpkg xtree _xbps # force autoload @@ -159,6 +159,7 @@ _xtools() { xrevshlib) _xtools_one_template "$@";; xsrc) _xtools_one_template "$@";; xsubpkg) _xsubpkg "$@";; + xtree) _xtools_just_packages "$@";; esac } |