| 1 | package Psh::Builtins::Rehash; | ||
| 2 | |||
| 3 | require Psh::Util; | ||
| 4 | |||
| 5 | =item * C<rehash> | ||
| 6 | |||
| 7 | Empties the path and executable hashes. This might be necessary if | ||
| 8 | executables are renamed/removed/added while you're logged in. | ||
| 9 | |||
| 10 | =cut | ||
| 11 | |||
| 12 | sub bi_rehash | ||
| 13 | { | ||
| 14 | %Psh::Util::command_hash=(); | ||
| 15 | %Psh::Util::path_hash=(); | ||
| 16 | return (1,undef); | ||
| 17 | } | ||
| 18 | |||
| 19 | 1; |