Merge pull request #1373 from ChefAndy/master
hy/completer.py:27 docomplete truth check
This commit is contained in:
commit
7e5d4830eb
1
AUTHORS
1
AUTHORS
@ -81,3 +81,4 @@
|
||||
* Hikaru Ikuta <woodrush924@gmail.com>
|
||||
* David Schaefer <david.schaefe@gmail.com>
|
||||
* Jordan Danford <jordandanford@gmail.com>
|
||||
* Andrew Silva <asilva@law.harvard.edu>
|
||||
|
@ -24,10 +24,11 @@ except ImportError:
|
||||
except ImportError:
|
||||
docomplete = False
|
||||
|
||||
if sys.platform == 'darwin' and 'libedit' in readline.__doc__:
|
||||
readline_bind = "bind ^I rl_complete"
|
||||
else:
|
||||
readline_bind = "tab: complete"
|
||||
if docomplete:
|
||||
if sys.platform == 'darwin' and 'libedit' in readline.__doc__:
|
||||
readline_bind = "bind ^I rl_complete"
|
||||
else:
|
||||
readline_bind = "tab: complete"
|
||||
|
||||
|
||||
class Completer(object):
|
||||
|
Loading…
Reference in New Issue
Block a user