mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-16 01:01:36 +00:00
update scripts
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
#!/bin/env bash
|
||||
|
||||
# Oha request
|
||||
oha_url() {
|
||||
if [[ -z $1 ]]; then
|
||||
echo "usage: oha_url <url>"
|
||||
@ -7,3 +8,8 @@ oha_url() {
|
||||
fi
|
||||
oha -z 10sec -c 50 --latency-correction --disable-keepalive --insecure $1
|
||||
}
|
||||
|
||||
mac-update() {
|
||||
brew update && brew upgrade && brew cleanup &&
|
||||
rustup update && rustup self update
|
||||
}
|
||||
|
Reference in New Issue
Block a user