Commit 1ac9169
committed
fix(_comp_compgen_services): skip service status marks
Recent versions of systemctl seems to prefix a character representing
the status before the unit names. Thus, in addition to $1, $2 may
also contain a service name.1 parent 6162fd2 commit 1ac9169
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2223 | 2223 | | |
2224 | 2224 | | |
2225 | 2225 | | |
2226 | | - | |
2227 | | - | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
2228 | 2233 | | |
2229 | 2234 | | |
2230 | 2235 | | |
| |||
0 commit comments