mirror of
https://github.com/powerline/powerline.git
synced 2025-07-30 17:25:28 +02:00
parent
1a7d67f5a7
commit
69846cd0cc
@ -13,7 +13,7 @@ class Powerline(object):
|
|||||||
def __init__(self, ext):
|
def __init__(self, ext):
|
||||||
config_home = os.environ.get('XDG_CONFIG_HOME', os.path.expanduser('~/.config'))
|
config_home = os.environ.get('XDG_CONFIG_HOME', os.path.expanduser('~/.config'))
|
||||||
config_path = os.path.join(config_home, 'powerline')
|
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]
|
self.search_paths = [config_path, plugin_path]
|
||||||
sys.path[:0] = self.search_paths
|
sys.path[:0] = self.search_paths
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user