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
Post a Comment