zsh-goto/goto.plugin.zsh

10 lines
242 B
Bash

#!/usr/bin/env zsh
# this is a stub, commands are elsewhere
ROOT="$(realpath $(dirname $0))"
# Note that since we manipulate $cwd, goto HAS to be a function.
# So we use this shim to hit the right script.
function goto {
. "$ROOT/goto"
}