#!/usr/bin/env zsh # Eryn Wells function g { if [[ $# -gt 0 ]]; then git $@ else git status --short --branch fi return $? } g "$@"