##// END OF EJS Templates
rehashx now works with relative directories on PATH
vivainio -
Show More
@@ -1,7 +1,7 b''
1 1 # -*- coding: utf-8 -*-
2 2 """Magic functions for InteractiveShell.
3 3
4 $Id: Magic.py 1179 2006-02-24 18:32:09Z vivainio $"""
4 $Id: Magic.py 1181 2006-03-01 11:27:24Z vivainio $"""
5 5
6 6 #*****************************************************************************
7 7 # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and
@@ -2276,7 +2276,10 b' Defaulting color scheme to \'NoColor\'"""'
2276 2276 '|'-separated string of extensions, stored in the IPython config
2277 2277 variable win_exec_ext. This defaults to 'exe|com|bat'. """
2278 2278
2279 path = filter(os.path.isdir,os.environ['PATH'].split(os.pathsep))
2279 path = [os.path.abspath(os.path.expanduser(p)) for p in
2280 os.environ['PATH'].split(os.pathsep)]
2281 path = filter(os.path.isdir,path)
2282
2280 2283 alias_table = self.shell.alias_table
2281 2284 syscmdlist = []
2282 2285 if os.name == 'posix':
General Comments 0
You need to be logged in to leave comments. Login now