7 releases (4 stable)
2.1.1 | Aug 28, 2021 |
---|---|
2.0.1 | Aug 28, 2021 |
0.3.0 | Aug 28, 2021 |
0.2.0 | Aug 25, 2021 |
0.1.0 | Jan 1, 2021 |
#11 in #bookmark
22KB
469 lines
goto
🔖 🔖 🔖 Bookmarks for the terminal 🔖 🔖 🔖
The tldr usage of goto
:
- Bookmark with
goto --add ./my_folder
- Use
cd
to go somewhere else, or open a new terminal, or restart your computer - Run
goto my_folder
and you're teleported back tomy_folder
Usage gifs and usage documentation can be found in the docs folder
Key Features
- Like browser bookmarks, but for the commandline!
- Add commonly visited places, like
code/my_project
and teleport to it from anywhere! - Did you say you want auto-completion with that? Of course there is auto-completion!
- Works with bash, zsh and powershell!
- Got several folders with similar names? Use an alias for the bookmark!
Unnecessary slogan
Goto - The good way to program
Installing
bash
cargo install --locked goto-cd
goto-cd --install >> ~/.bashrc
zsh
cargo install --locked goto-cd
goto-cd --install >> ~/.zshrc
powershell
cargo install --locked goto-cd
goto-cd --powershell-install >> $PROFILE
Finally
Restart your shell for effects to take place
Basic Usage
Note: The installed binary is called goto-cd
, but goto
is the name of the command
loaded into your shell. goto-cd
is only referenced when installing the first time.
goto --add .
# Prints "Added 'catears' which points to '/home/catears'"
cd /
goto catears
# Ends up at /home/catears
Updating
cargo install --locked goto-cd
# Installs the newest version of `goto-cd`
goto --install
# Installs the latest version of shell scripts for both unix/windows
Documentation
See the docs folder.
Contributing
See contributing.md.
License
MIT - see LICENSE
Dependencies
~3–9MB
~88K SLoC