mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
Minor simplification to rpm completions
darcs-hash:20071028182440-75c98-dc3d22f37e1779dca7e2e88f02fc9e0d815301c9.gz
This commit is contained in:
parent
10b9b06ef7
commit
80060229f8
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ complete $rpm_erase -l repackage --description 'Re-package the files before eras
|
|||
complete $rpm_erase -l test --description "Don't really uninstall anything"
|
||||
set -e rpm_erase
|
||||
|
||||
set rpm_mode -c rpm -n '__fish_contains_opt -s e -s i -s F -s V -s U -s q erase install freshen verify upgrade query; if test $status = 0; false; else; true; end'
|
||||
set rpm_mode -c rpm -n 'not __fish_contains_opt -s e -s i -s F -s V -s U -s q erase install freshen verify upgrade query'
|
||||
complete $rpm_mode -s i -l install --description 'Install new package'
|
||||
complete $rpm_mode -s U -l upgrade --description 'Upgrade existing package'
|
||||
complete $rpm_mode -s F -l freshen --description 'Upgrade package if already installed'
|
||||
|
|
Loading…
Reference in a new issue