mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-21 20:38:54 +00:00
#678: Speedup fuck
by hardcoding entry points
This commit is contained in:
parent
fabef80056
commit
d71dbc5de4
@ -107,9 +107,7 @@ def get_all_executables():
|
||||
return fallback
|
||||
|
||||
tf_alias = get_alias()
|
||||
tf_entry_points = get_installation_info().get_entry_map()\
|
||||
.get('console_scripts', {})\
|
||||
.keys()
|
||||
tf_entry_points = ['thefuck', 'fuck']
|
||||
|
||||
bins = [exe.name.decode('utf8') if six.PY2 else exe.name
|
||||
for path in os.environ.get('PATH', '').split(':')
|
||||
|
Loading…
x
Reference in New Issue
Block a user