package Psh
::Builtins
::Hash
;
Shows information about Psh's executable and path hashes.
Empties the path and executable hashes. This might be necessary if
executables are renamed/removed/added while you're logged in.
while (my $sub= shift @words) {
if (substr($sub,0,1) eq '-') {
%Psh::Util
::command_hash
=();
%Psh::Util
::path_hash
=();
Psh
::Util
::print_out
("Unknown option $sub.\n");
while (my ($key,$val)= each %Psh::Util
::command_hash
) {
Psh
::Util
::print_out
("$key=$val\n");
while (my ($key,$val)= each %Psh::Util
::path_hash
) {
Psh
::Util
::print_out
("$key=$val\n");