Skip to content
/ goto Public

A fish shell utility to quickly navigate to aliased directories supporting tab-completion

License

Notifications You must be signed in to change notification settings

matusf/goto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goto

A fish shell utility to quickly navigate to aliased directories supporting tab-completion

goto is a port of goto to fish shell.

demo

Installation

Via fisher

fisher install matusf/goto

Manually

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

Usage

Go to an aliased directory

$ goto <alias>

Register an alias

$ goto -r <alias> <directory>
$ goto --register <alias> <directory>

Unregister an alias

$ goto -u <alias>
$ goto --unregister <alias>

List aliases

$ goto -l
$ goto --list

Cleanup non existent directory aliases

$ goto -c
$ goto --cleanup

Expand an alias

$ goto -x <alias>
$ goto --expand <alias>

Print goto version

$ goto -v
$ goto --version

Print a help message

$ goto -h
$ goto --help

Features

Configuration

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.

About

A fish shell utility to quickly navigate to aliased directories supporting tab-completion

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages