mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-01 00:54:51 +01:00
fix indentation
This commit is contained in:
parent
f3378219e6
commit
a24bc69e8c
14
zsh/scripts
14
zsh/scripts
@ -41,12 +41,12 @@ function manp() {
|
|||||||
|
|
||||||
# pushover notification
|
# pushover notification
|
||||||
function pushover() {
|
function pushover() {
|
||||||
curl -s \
|
curl -s \
|
||||||
--form-string "token=$pushover_token" \
|
--form-string "token=$pushover_token" \
|
||||||
--form-string "user=$pushover_user" \
|
--form-string "user=$pushover_user" \
|
||||||
--form-string "title=$HOST" \
|
--form-string "title=$HOST" \
|
||||||
--form-string "message=$1" \
|
--form-string "message=$1" \
|
||||||
https://api.pushover.net/1/messages.json
|
https://api.pushover.net/1/messages.json
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
@ -101,7 +101,7 @@ function extract () {
|
|||||||
*.Z) uncompress "$1" ;;
|
*.Z) uncompress "$1" ;;
|
||||||
*.7z) 7z x "$1" ;;
|
*.7z) 7z x "$1" ;;
|
||||||
*) echo "'$1' cannot be extracted via extract()" ;;
|
*) echo "'$1' cannot be extracted via extract()" ;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
echo "'$1' is not a valid file"
|
echo "'$1' is not a valid file"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user