zsh/aliases/server

5 lines
160 B
Plaintext
Raw Permalink Normal View History

2024-07-15 23:06:04 +00:00
#!/bin/zsh
matrix() {
curl --header "Authorization: Bearer $(pass servers/matrix/matrix.qwertyuiop.de_admintoken)" -X $1 "https://qwertyuiop.de:8448/${2#/}"
}