mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-22 12:58:33 +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
|
return fallback
|
||||||
|
|
||||||
tf_alias = get_alias()
|
tf_alias = get_alias()
|
||||||
tf_entry_points = get_installation_info().get_entry_map()\
|
tf_entry_points = ['thefuck', 'fuck']
|
||||||
.get('console_scripts', {})\
|
|
||||||
.keys()
|
|
||||||
|
|
||||||
bins = [exe.name.decode('utf8') if six.PY2 else exe.name
|
bins = [exe.name.decode('utf8') if six.PY2 else exe.name
|
||||||
for path in os.environ.get('PATH', '').split(':')
|
for path in os.environ.get('PATH', '').split(':')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user