Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save therealchiko/b07a287c6e72d5d794c69c1fda4d31b6 to your computer and use it in GitHub Desktop.
Save therealchiko/b07a287c6e72d5d794c69c1fda4d31b6 to your computer and use it in GitHub Desktop.
simple script to navigate to your any dir on your system quickly
function go(){
WAY=$1
CAPPED=$(tr a-z A-Z <<< ${WAY:0:1})${WAY:1}
SUB=$2
cd ~/$CAPPED/$SUB
}
@therealchiko
Copy link
Author

to get to sheets folder inside ~/Documents/Sheets from any other place:

go documents sheet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment