#!/bin/zsh # Add all and commit to git. function gma() { [ -z "$1" ] \ && echo "usage: gma " \ && return 1 git add . && git commit -m "$1" }