1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/modules/git/init.zsh

27 lines
411 B

#
# Provides Git aliases and functions.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Return if requirements are not found.
if (( ! $+commands[git] )); then
return 1
fi
# Load dependencies.
pmodload 'helper'
# Source module files.
source "${0:h}/alias.zsh"
#
# Functions
#
# Create .gitignore files using gitignore.io service
function gi() {
curl -L -s https://www.gitignore.io/api/$@
}