diff --git a/xonssh_xxh/settings.py b/xonssh_xxh/settings.py index 5882b0d..051bb42 100644 --- a/xonssh_xxh/settings.py +++ b/xonssh_xxh/settings.py @@ -1,7 +1,7 @@ import sys, os global_settings = { - 'XXH_VERSION': '0.2.11' + 'XXH_VERSION': '0.2.12' } if __name__ == "__main__": diff --git a/xonssh_xxh/xonshrc.xsh b/xonssh_xxh/xonshrc.xsh index fce8464..dfc09e7 100644 --- a/xonssh_xxh/xonshrc.xsh +++ b/xonssh_xxh/xonshrc.xsh @@ -7,8 +7,8 @@ $PIP_TARGET = os.path.join($XXH_HOME, 'pip') $PYTHONPATH = $PIP_TARGET $PATH = [ os.path.join($PYTHONHOME, 'bin'), $XXH_HOME ] + $PATH sys.path.append($PIP_TARGET) -aliases['xpip'] = ['python','-m','pip'] -aliases['xxh'] = os.path.join($XXH_HOME, 'xonsh') + ' ' + os.path.join($XXH_HOME, 'xxh') +aliases['pip'] = ['python','-m','pip'] +aliases['xpip'] = aliases['pip'] for plugin_path in sorted(glob.glob(os.path.join($XXH_HOME, 'plugins/**'))): if os.path.exists(os.path.join(plugin_path, 'xonshrc.xsh')):