Commit 809b7db
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 2cb4b13 commit 809b7db
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2208 | 2208 | | |
2209 | 2209 | | |
2210 | 2210 | | |
2211 | | - | |
2212 | | - | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
2213 | 2218 | | |
2214 | 2219 | | |
2215 | 2220 | | |
| |||
0 commit comments