Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.14 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.14 KB

Documentation

PNG Normal Usage

To see usage in the form of GIFs, look in the tldr folder

To see usage for each command in a man style manual, look in the manual folder

F.A.Q

goto is too long to type. I just want to type abc instead. How to?

The easiest way to accomplish this is to modify your .zshrc or .bashrc and add something like this:

function abc() {
   goto $@
}

This would work for bash atleast, but you could probably find what works for zsh here.

Of course you probably want to have tab completion as well. The above won't give you that. For bash you would add the following:

complete -F _GotoHelperFunction abc

For zsh you would add the following:

compdef _GotoHelperFunction abc

IMPORTANT NOTE: The above will have to be placed after goto is sourced. Otherwise the _GotoHelperFunction will not be defined yet.