wfxr.forgit/bin/git-forgit
Jonathan Wren 8bcd87af38 change dash to underscore for bin/git-forgit
Using an underscore instead of a dash simplifies the workflow and
documentation by making the commands and environment variables that
forgit uses the same (i.e. `git forgit checkout_file` is the same
command referred to by `forgit_checkout_file`)
2021-10-17 23:33:00 -07:00

9 lines
116 B
Bash
Executable file

#!/usr/bin/env bash
set -e
source "$FORGIT_INSTALL_DIR/forgit.plugin.zsh"
cmd="$1"
shift
forgit::${cmd/_/::} "$@"