Skip to content

Instantly share code, notes, and snippets.

@vabh
Created September 12, 2015 11:56
Show Gist options
  • Save vabh/2afb14cc3d6f6c4a97a3 to your computer and use it in GitHub Desktop.
Save vabh/2afb14cc3d6f6c4a97a3 to your computer and use it in GitHub Desktop.
cd .. ++
function up {
cd `expr "$PWD" : "^\(.*$1[^/]*\)"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment