bundles / IPython 9.14.0.dev / IPython / core / magics / osm / OSMagics / rehashx
function
IPython.core.magics.osm:OSMagics.rehashx
source: /IPython/core/magics/osm.py :200
Signature
def rehashx ( self , parameter_s = '' ) Summary
Update the alias table with all executable files in $PATH.
Extended Summary
rehashx explicitly checks that every entry in $PATH is a file with execute access (os.X_OK).
Under Windows, it checks executability as a match against a '|'-separated string of extensions, stored in the IPython config variable win_exec_ext. This defaults to 'exe|com|bat'.
This function also resets the root module cache of module completer, used on slow filesystems.
Aliases
-
IPython.core.magics.OSMagics.rehashx