mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-22 12:58:33 +00:00
Remove brew upgrade --all
rule.
This commit is contained in:
parent
fd20a3f832
commit
916dfae6dd
@ -1,17 +0,0 @@
|
||||
# Appends --all to the brew upgrade command
|
||||
#
|
||||
# Example:
|
||||
# > brew upgrade
|
||||
# Warning: brew upgrade with no arguments will change behaviour soon!
|
||||
# It currently upgrades all formula but this will soon change to require '--all'.
|
||||
from thefuck.specific.brew import brew_available
|
||||
|
||||
enabled_by_default = brew_available
|
||||
|
||||
|
||||
def match(command):
|
||||
return command.script == 'brew upgrade'
|
||||
|
||||
|
||||
def get_new_command(command):
|
||||
return command.script + ' --all'
|
Loading…
x
Reference in New Issue
Block a user