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:
parent
f3d377114e
commit
91c1fe414a
3
setup.py
3
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']})
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user