Move configuration files into separate directory

Refs #72.
This commit is contained in:
ZyX 2013-01-20 02:49:58 +04:00 committed by Kim Silkebækken
parent 1a7d67f5a7
commit 69846cd0cc
9 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class Powerline(object):
def __init__(self, ext):
config_home = os.environ.get('XDG_CONFIG_HOME', os.path.expanduser('~/.config'))
config_path = os.path.join(config_home, 'powerline')
plugin_path = os.path.realpath(os.path.dirname(__file__))
plugin_path = os.path.join(os.path.realpath(os.path.dirname(__file__)), 'config_files')
self.search_paths = [config_path, plugin_path]
sys.path[:0] = self.search_paths