A fish shell utility to quickly navigate to aliased directories supporting tab-completion
goto is a port of goto to fish shell.
Via fisher
fisher install matusf/goto
Simply copy the goto.fish
to your fish/functions
directory. (Typically ~/.config/fish/functions
) or run:
curl --create-dirs -o ~/.config/fish/functions/goto.fish https://raw.githubusercontent.com/matusf/goto/master/functions/goto.fish
$ goto <alias>
$ goto -r <alias> <directory>
$ goto --register <alias> <directory>
$ goto -u <alias>
$ goto --unregister <alias>
$ goto -l
$ goto --list
$ goto -c
$ goto --cleanup
$ goto -x <alias>
$ goto --expand <alias>
$ goto -v
$ goto --version
$ goto -h
$ goto --help
- support for tab-completion (for both, options and aliases)
- works for relative as well as absolute paths
- follows XDG Base Directory Specification
You can configure the location of goto
database by setting an environment
variable GOTO_DB
to a path to a file where you would like to store aliases.