-
Notifications
You must be signed in to change notification settings - Fork 11
/
completions
30 lines (25 loc) · 1014 Bytes
/
completions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash
#cito M:644 O:0 G:0 T:/usr/share/bash-completion/completions/simplify-ubuntu
#------------------------------------------------------------------------------
# Project Name - ShellProjects/source/simplify-ubuntu/completions
# Started On - Fri 29 Jan 01:22:20 GMT 2021
# Last Change - Mon 19 Jun 23:34:57 BST 2023
# Author E-Mail - terminalforlife@yahoo.com
# Author GitHub - https://github.com/terminalforlife
#------------------------------------------------------------------------------
# This is the bash completion script for Simplify Ubuntu.
#------------------------------------------------------------------------------
_simplifyubuntu() {
local Option Arg Args
while read; do
[[ ${REPLY:0:2} == ' ' ]] || continue
Option=${REPLY%% - *}
for Arg in ${Option//,/}; {
Args+="${Arg##[^-]*} "
}
done <<< "$(simplify-ubuntu -h)"
if [[ $2 == -* ]]; then
COMPREPLY=(`compgen -W "$Args" -- "$2"`)
fi
}
complete -F _simplifyubuntu simplify-ubuntu