From 758b40ccc4193535bd07801d554bf5416969804d Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 13 May 2018 00:37:16 -0400 Subject: Tabify shell scripts --- pdf.zsh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pdf.zsh') diff --git a/pdf.zsh b/pdf.zsh index d9aab752..25458dfa 100755 --- a/pdf.zsh +++ b/pdf.zsh @@ -4,16 +4,16 @@ set -o errexit -o nounset -o pipefail mkdir -p pdf fetch() { - [[ -f "pdf/$1" ]] && return - curl --silent --show-error --output "pdf/$1" "$2" - echo "pdf/$1" + [[ -f "pdf/$1" ]] && return + curl --silent --show-error --output "pdf/$1" "$2" + echo "pdf/$1" } elf() { - fetch "$1" "http://refspecs.linuxbase.org/elf/$2" + fetch "$1" "http://refspecs.linuxbase.org/elf/$2" } intel() { - fetch "$1" "https://software.intel.com/sites/default/files/managed/$2" + fetch "$1" "https://software.intel.com/sites/default/files/managed/$2" } elf abi.pdf x86_64-abi-0.99.pdf -- cgit 1.4.1