wfxr / forgit

:zzz: A utility tool powered by fzf for using git interactively.
MIT License
4.4k stars 137 forks source link

Fix `gcb` alias in Fish #159

Closed Cellane closed 3 years ago

Cellane commented 3 years ago

Check list

Description

When defining a custom alias for the gcb (Git checkout branch) in alias, the custom alias is not registered; rather, fish will omit the following warning on start: alias: Body cannot be empty.

I think this is caused due to a typo between the variable that’s being tested for presence and the variable that’s later used for setting the alias.

Type of change

Test environment

cjappl commented 3 years ago

Thanks so much for catching this, and submitting a fix! :)