Show More
@@ -97,9 +97,9 b' class OSMagics(Magics):' | |||||
97 | In [9]: show $$PATH |
|
97 | In [9]: show $$PATH | |
98 | /usr/local/lf9560/bin:/usr/local/intel/compiler70/ia32/bin:... |
|
98 | /usr/local/lf9560/bin:/usr/local/intel/compiler70/ia32/bin:... | |
99 |
|
99 | |||
100 | You can use the alias facility to acess all of $PATH. See the %rehash |
|
100 | You can use the alias facility to acess all of $PATH. See the %rehashx | |
101 |
|
|
101 | function, which automatically create aliases for the contents of your | |
102 |
|
|
102 | $PATH. | |
103 |
|
103 | |||
104 | If called with no parameters, %alias prints the current alias table.""" |
|
104 | If called with no parameters, %alias prints the current alias table.""" | |
105 |
|
105 | |||
@@ -148,8 +148,8 b' class OSMagics(Magics):' | |||||
148 | def rehashx(self, parameter_s=''): |
|
148 | def rehashx(self, parameter_s=''): | |
149 | """Update the alias table with all executable files in $PATH. |
|
149 | """Update the alias table with all executable files in $PATH. | |
150 |
|
150 | |||
151 |
|
|
151 | rehashx explicitly checks that every entry in $PATH is a file | |
152 |
with execute access (os.X_OK) |
|
152 | with execute access (os.X_OK). | |
153 |
|
153 | |||
154 | Under Windows, it checks executability as a match against a |
|
154 | Under Windows, it checks executability as a match against a | |
155 | '|'-separated string of extensions, stored in the IPython config |
|
155 | '|'-separated string of extensions, stored in the IPython config |
General Comments 0
You need to be logged in to leave comments.
Login now