diff --git a/zsh/scripts b/zsh/scripts index 3507bcb..1d22d08 100644 --- a/zsh/scripts +++ b/zsh/scripts @@ -41,12 +41,12 @@ function manp() { # pushover notification function pushover() { - curl -s \ - --form-string "token=$pushover_token" \ - --form-string "user=$pushover_user" \ - --form-string "title=$HOST" \ - --form-string "message=$1" \ - https://api.pushover.net/1/messages.json + curl -s \ + --form-string "token=$pushover_token" \ + --form-string "user=$pushover_user" \ + --form-string "title=$HOST" \ + --form-string "message=$1" \ + https://api.pushover.net/1/messages.json } <<<<<<< HEAD @@ -101,7 +101,7 @@ function extract () { *.Z) uncompress "$1" ;; *.7z) 7z x "$1" ;; *) echo "'$1' cannot be extracted via extract()" ;; - esac + esac else echo "'$1' is not a valid file" fi