diff options
author | June McEnroe <june@causal.agency> | 2018-05-13 00:37:16 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-05-13 00:42:27 -0400 |
commit | 758b40ccc4193535bd07801d554bf5416969804d (patch) | |
tree | 2a196a6fc7a9ad7dc0c0360ee90b6ceb454dcad7 /pdf.zsh | |
parent | I've really done it now (diff) | |
download | src-758b40ccc4193535bd07801d554bf5416969804d.tar.gz src-758b40ccc4193535bd07801d554bf5416969804d.zip |
Tabify shell scripts
Diffstat (limited to '')
-rwxr-xr-x | pdf.zsh | 10 |
1 files changed, 5 insertions, 5 deletions
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 |