completions/protontricks: coding style, translations

This commit is contained in:
Johannes Altmanninger
2025-07-25 11:10:36 +02:00
parent bd8cc6d317
commit d69886efe0
10 changed files with 262 additions and 17 deletions

View File

@@ -0,0 +1,5 @@
function __fish_protontricks_complete_appid
protontricks -l |
string match --regex '.*\(\d+\)' |
string replace --regex '(.*) \((\d+)\)' '$2\t$1'
end