def _rehash():
 shell = __salt__['environ.get']('SHELL')
 if (shell.split('/')[(-1)] in ('csh', 'tcsh')):
  __salt__['cmd.run']('rehash', output_loglevel='trace')

def _rehash ( ) : shell = __salt__ [ 'environ.get' ] ( 'SHELL' ) if ( shell . split ( '/' ) [ ( - 1 ) ] in ( 'csh' , 'tcsh' ) ) : __salt__ [ 'cmd.run' ] ( 'rehash' , output_loglevel = 'trace' )
recomputes internal hash table for the path variable .