aboutsummaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index ab82a35..bb899ce 100644
--- a/bashrc
+++ b/bashrc
@@ -87,6 +87,11 @@ function manpdf() {
man -t "$1" | ps2pdf - "$1.pdf"
}
+# Generate the contents for a .gitignore file.
+function gi() {
+ curl http://www.gitignore.io/api/$@
+}
+
# Finally get RVM straight.
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"