Skip to content

Install the goto command

Jonas Verhoelen edited this page Jun 14, 2021 · 3 revisions

Node.js scripts have the downside of not being able to alter parent processes, like the shell session you are executing Golumbus from, in a reliable way. That's why Golumbus needs a helper mechanism to change the current directory for it. It needs a simple helper function command between in your shell. This command executes Golumbus, retrieves a directory string and does cd to it.

Automatic installation

For Fish and Zsh you can auto install this helper command with gol install.

Manual installation: Bash

Simply add a script named goto to your path that does something like that.

Manual installation: Zsh

Add the Zsh goto script to your ~/.zshrc.

Manual installation: Fish Shell

Copy goto.fish to your Fish Shell function directory which is ~/.config/fish/functions.