mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
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`)
9 lines
116 B
Bash
Executable file
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/_/::} "$@"
|