Skip to content

Instantly share code, notes, and snippets.

@matthewpizza
Created November 23, 2016 17:24
Show Gist options
  • Save matthewpizza/772af7923899fce37831807d977b3480 to your computer and use it in GitHub Desktop.
Save matthewpizza/772af7923899fce37831807d977b3480 to your computer and use it in GitHub Desktop.
#!/usr/local/bin/fish
pushd (dirname (status -f)) > /dev/null
set dir (pwd)
popd > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment