shell - "which" command gives me the source code and not the path of a command -


i'm working python virtualenvs, , wondering how workon command made.

so made which workon path of workon. had directly whole source code of workon --- got answer question --- expected path.

what mean? isn't workon contained in file?

workon shell function (see here), not separate script.

i'm not sure if every shell show function source when run which, @ least zsh does.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -