1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-16 00:56:12 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Björn Bidar
2ec50ad939 Refactor help text generation in zsh completition so it can be reused
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
3082605144 Match more command aliases in the zsh completion
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
cb47bed4c3 Fetch project repositories list for zsh completion
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
09bfa0a9b5 Parse pwd's apiurl in zsh completion
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
b1d1069474 Fetch project list in zsh completition at runtime
Similar to the bash/tcsh completition fetch the project list at
runtime.
Includes basic completion for alias/api-url as project list
cache is separated per instance.

Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00
Björn Bidar
dc5eae0a09 Import zsh completition made by Holger Macht
Right now the zsh completition is packaged inside the zsh package on
OpenSUSE.
Several distributions either package it or the user has to import it
themselves.

It is better if it is stored here so any can pick it up in there zsh
package and put fixes in here.

The file was imported from the OpenSUSE zsh package plus a few spelling fixes.

Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
2023-09-09 01:57:29 +03:00