0

I have Elementary OS installed on my PC and have installed RVM through the terminal.

However, when I type this type rvm | head -1, instead of "rvm is a function", I get rvm is hashed (/home/edson/.rvm/bin/rvm).

Any ideas as to why this is?

0

As bash manual page says, "is hashed" means that the command is stored in a hash table, to be used in a more efficient way, because that prevents it from having to search $PATH every time you type the same command.

You could check hash table with "hash" command, and you could purge entries with "hash -d command".

| improve this answer | |
  • But why does it not show as a function, the way rvm is usually supposed to show up? – user1686 Mar 29 '17 at 4:53
  • If you use "type -p", still shows as hashed? – Roberto Paz Mar 29 '17 at 13:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.