Skip to content

Commit ce00c2d

Browse files
committed
[bash] adding autocomplete
1 parent e6d6b9f commit ce00c2d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

autocomplete

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
function _build_ops_completion() {
2+
ops -T | awk '{ print $2 }'
3+
}
4+
5+
complete -W "$(_build_ops_completion)" ops

0 commit comments

Comments
 (0)