mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 02:01:13 +00:00
parent
6111523034
commit
13fda64d6e
@ -186,7 +186,7 @@ def is_app(command, *app_names, **kwargs):
|
||||
|
||||
|
||||
def for_app(*app_names, **kwargs):
|
||||
"""Specifies that matching script is for on of app names."""
|
||||
"""Specifies that matching script is for one of app names."""
|
||||
def _for_app(fn, command):
|
||||
if is_app(command, *app_names, **kwargs):
|
||||
return fn(command)
|
||||
|
Loading…
x
Reference in New Issue
Block a user