Skip to content

Instantly share code, notes, and snippets.

View boppyv's full-sized avatar

Baptiste boppyv

  • New York
  • 22:01 (UTC -05:00)
View GitHub Profile

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:

@boppyv
boppyv / .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