Add gitignore.io function and alias

This commit is contained in:
Andrew Tomaka 2014-08-21 05:56:28 -04:00
parent 165d45c882
commit f75cafa09a
2 changed files with 5 additions and 0 deletions

View file

@ -22,6 +22,7 @@ alias gcm="echo Do not specify message at command line. Use gc"
alias gco="git checkout"
alias gd="git diff"
alias gfl="git log --patch"
alias gi="gitignore-io"
alias gl="git log"
alias gh="git hist"
alias ghd="git hist-details"

View file

@ -27,3 +27,7 @@ function map-sshfs {
sshfs -o idmap=user -o workaround=rename $USER'@'$1':'$2 $HOME'/Mounts/'$3
fi
}
function gitignore-io {
curl http://www.gitignore.io/api/$@
}