Skip to content

Instantly share code, notes, and snippets.

@AdrianSchneider
Created February 26, 2019 23:53
Show Gist options
  • Save AdrianSchneider/6a0d9bfb45726057263a7db49fa57ff2 to your computer and use it in GitHub Desktop.
Save AdrianSchneider/6a0d9bfb45726057263a7db49fa57ff2 to your computer and use it in GitHub Desktop.
A smart keyword / search engine that gives you the "cd" (change directory) behaviour. Ex: CMD+L, then `cd ..` or `cd /`
javascript:window.location='%s' == '..' ? window.location.href.split('/').slice(0, -1).join('/') : "%s";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment