diff --git a/setup.py b/setup.py index 8b7216ce..b5ae6872 100644 --- a/setup.py +++ b/setup.py @@ -17,4 +17,5 @@ setup(name='thefuck', zip_safe=False, install_requires=['pathlib', 'psutil', 'colorama', 'six'], entry_points={'console_scripts': [ - 'thefuck = thefuck.main:main', 'thefuck-alias = thefuck.main:alias']}) + 'thefuck = thefuck.main:main', + 'thefuck-alias = thefuck.shells:app_alias']}) diff --git a/thefuck/main.py b/thefuck/main.py index 27a0095c..5772d4e6 100644 --- a/thefuck/main.py +++ b/thefuck/main.py @@ -121,10 +121,6 @@ def run_rule(rule, command, settings): print(new_command) -def alias(): - print(shells.app_alias()) - - def main(): colorama.init() user_dir = setup_user_dir()