Skip to content

Instantly share code, notes, and snippets.

View unlockedmutex's full-sized avatar

infinitemorning unlockedmutex

View GitHub Profile
@unlockedmutex
unlockedmutex / .bashrc
Last active February 7, 2022 07:18
Automatically enter/exit/hop pipenv virtualenvironments
# This will enter any virtualenvironment when there is a pipfile
# to be found in the current directory or a directory higher up
# in the hierarchy. It will exit if none is found, and switch if
# You cd into a different pipenv.
# Append this to your bashrc and it will work whenever you cd around
function search_up_pipfile {
ORIG_DIRECTORY=$PWD
if ! [[ -z $VIRTUAL_ENV ]]; then

Keybase proof

I hereby claim:

  • I am thabaptiser on github.
  • I am thabaptiser (https://keybase.io/thabaptiser) on keybase.
  • I have a public key ASB6VCGVpSedJfgYi45wwIpwRJajmPUI9RO_8iGMjYMatgo

To claim this, I am signing this object: