Skip to content

Commit

Permalink
cmdline frontend: hack to allow completion on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
sommer committed May 30, 2009
1 parent 13a35fb commit 844c6d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/frontends/cmdline/loxodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import sys
import getopt
from getpass import getpass
import readline
import cmd

from ...vault import Vault
Expand All @@ -31,6 +32,8 @@ def __init__(self):
self.vault = None

cmd.Cmd.__init__(self)
if sys.platform == "darwin":
readline.parse_and_bind('bind ^I rl_complete')
self.intro = 'Ready for commands. Type "help" or "help <command>" for help, type "quit" to quit.'
self.prompt = "[none]> "

Expand Down

0 comments on commit 844c6d6

Please sign in to comment.