1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 20:11:17 +00:00

Update thefuck-alias entry point

This commit is contained in:
nvbn 2015-05-07 13:32:23 +02:00
parent f3d377114e
commit 91c1fe414a
2 changed files with 2 additions and 5 deletions

View File

@ -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']})

View File

@ -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()