From 5fc64445bb070e972e6fd2e7c2e07c9d838fa66a Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 16 May 2016 21:04:05 +0100 Subject: [PATCH] gitignore.io correction --- .bash_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_aliases b/.bash_aliases index 55cd812..6fccb16 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -54,7 +54,7 @@ transfer() { if [ $# -eq 0 ]; then echo "No arguments specified. Usage:\necho tr tmpfile=$( mktemp -t transferXXX ); if tty -s; then basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g'); curl --progress-bar --upload-file "$1" "https://transfer.sh/$basefile" >> $tmpfile; else curl --progress-bar --upload-file "-" "https://transfer.sh/$1" >> $tmpfile ; fi; cat $tmpfile; rm -f $tmpfile; } # gitignore.io interface -function gitignore() { curl -L -s https://www.gitignore.io/api/\$@ ;} +function gitignore() { curl -L -s https://www.gitignore.io/api/$@; } # Get / Set clipboard contents alias setclip='xclip -selection c'