mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-06 10:08:47 +00:00
Add completion for flatpak enter and kill
This commit is contained in:
parent
cd2be9c22f
commit
f247bb8a14
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ complete -f -c flatpak -n "not __fish_seen_subcommand_from $commands" -a repo -d
|
|||
if test $flatversion -ge 1.2 2>/dev/null
|
||||
complete -f -c flatpak -n "__fish_seen_subcommand_from run" -a "(flatpak list --app --columns=application,name)"
|
||||
complete -f -c flatpak -n "__fish_seen_subcommand_from info uninstall" -a "(flatpak list --columns=application,name)"
|
||||
complete -f -c flatpak -n "__fish_seen_subcommand_from enter kill" -a "(flatpak ps --columns=instance,application)"
|
||||
complete -f -c flatpak -n "__fish_seen_subcommand_from remote-info remote-ls remote-modify remote-delete" -a "(flatpak remotes --columns=name)"
|
||||
else
|
||||
complete -f -c flatpak -n "__fish_seen_subcommand_from run" -a "(flatpak list --app | string match -r '\S+')"
|
||||
|
|
Loading…
Reference in a new issue