Skip to content

Instantly share code, notes, and snippets.

@akaptur
Created September 10, 2014 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akaptur/bb7981515824b79c96e3 to your computer and use it in GitHub Desktop.
Save akaptur/bb7981515824b79c96e3 to your computer and use it in GitHub Desktop.
bash caching, viewed with `type`
byterun_env ⚲ type python
python is /usr/local/bin/python
byterun_env ⚲ source bin/activate
(byterun_env)byterun_env ⚲ type python
python is /Users/afk/Dropbox/python/byterun_env/bin/python
(byterun_env)byterun_env ⚲ python
Python 2.7.6 (default, Feb 11 2014, 18:46:41)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
(byterun_env)byterun_env ⚲ type python
python is hashed (/Users/afk/Dropbox/python/byterun_env/bin/python)
(byterun_env)byterun_env ⚲ deactivate
byterun_env ⚲ type python
python is /usr/local/bin/python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment