#
# Copyright (c) 2013 Ericsson AB.
# All rights reserved.
#

import os
import readline
import rlcompleter
import atexit

history_file = os.path.expanduser('~/.utf2_history')

if not os.path.exists(history_file):
    f = open(history_file, 'w')
    f.close()

readline.read_history_file(history_file)
readline.parse_and_bind('tab: complete')

atexit.register(readline.write_history_file, history_file)

