mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 14:48:49 +00:00
changes in another file
This commit is contained in:
parent
cdaeb999c9
commit
a45bb00601
@ -44,7 +44,7 @@ def match(command):
|
||||
|
||||
|
||||
def get_new_command(command):
|
||||
executable = _get_executable(command)
|
||||
name = get_package(executable)
|
||||
formatme = shell.and_('sudo apt-get install {}', '{}')
|
||||
return formatme.format(name, command.script)
|
||||
ex = _get_executable(command)
|
||||
n = get_package(ex)
|
||||
f = shell.and_('sudo apt-get install {}', '{}')
|
||||
return f.format(n, command.script)
|
||||
|
Loading…
x
Reference in New Issue
Block a user