Restart network share at MacOS

This commit is contained in:
Marcin Woźniak 2024-11-03 16:45:10 +01:00
parent 22662258d2
commit 92d2265c56
Signed by: y0rune
GPG Key ID: F204C385F57EB348

1
.zshrc
View File

@ -164,6 +164,7 @@ if [[ "$(uname)" == "Darwin" ]]; then
alias mtr="sudo /opt/homebrew/opt/mtr/sbin/mtr" alias mtr="sudo /opt/homebrew/opt/mtr/sbin/mtr"
alias sleep-lid-off="sudo pmset -b sleep 0; sudo pmset -b disablesleep 1" alias sleep-lid-off="sudo pmset -b sleep 0; sudo pmset -b disablesleep 1"
alias sleep-lid-on="sudo pmset -b sleep 5; sudo pmset -b disablesleep 0" alias sleep-lid-on="sudo pmset -b sleep 5; sudo pmset -b disablesleep 0"
alias restart-network-share="sudo pkill -i netauthsysagent"
# Terraform # Terraform
export TFENV_ARCH=amd64 export TFENV_ARCH=amd64