A command line app for fast directory switching ⚡️
$ npm install -g gotodir
# or
$ yarn global add gotodir
Add this line to .bashrc or .zshrc.
alias to=". gotodir"
Restart your shell.
Without this alias you have to type . gotodir
each time you use this app.
$ to --setup
Restart your shell.
$ cd /sample/long/and/complicated/path
$ to add project1
#=> Added project1 with path /sample/long/and/complicated/path
# or
$ to add project1 /sample/long/and/complicated/path
#=> Added project1 with path /sample/long/and/complicated/path
$ pwd
#=> /home/user
$ to project1
$ pwd
#=> /sample/long/and/complicated/path
to
to rm project1
#=> Folder "project1" removed.