mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 12:11:20 -03:00
completions/protontricks: coding style, translations
This commit is contained in:
5
share/functions/__fish_protontricks_complete_appid.fish
Normal file
5
share/functions/__fish_protontricks_complete_appid.fish
Normal file
@@ -0,0 +1,5 @@
|
||||
function __fish_protontricks_complete_appid
|
||||
protontricks -l |
|
||||
string match --regex '.*\(\d+\)' |
|
||||
string replace --regex '(.*) \((\d+)\)' '$2\t$1'
|
||||
end
|
||||
Reference in New Issue
Block a user