mirror of
https://github.com/nvbn/thefuck.git
synced 2025-11-19 16:26:03 +00:00
#441: Remove shells methods wrappers
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from thefuck import shells
|
||||
from thefuck.shells import shell
|
||||
from thefuck.utils import replace_argument
|
||||
from thefuck.specific.git import git_support
|
||||
|
||||
@@ -13,5 +13,5 @@ def match(command):
|
||||
|
||||
@git_support
|
||||
def get_new_command(command):
|
||||
return shells.and_(replace_argument(command.script, 'push', 'pull'),
|
||||
command.script)
|
||||
return shell.and_(replace_argument(command.script, 'push', 'pull'),
|
||||
command.script)
|
||||
|
||||
Reference in New Issue
Block a user