Added new commands for sleep-lid-off
and sleep-lid-on
This commit is contained in:
parent
28bf3cb1ed
commit
7a52b5dd74
2
.zshrc
2
.zshrc
@ -163,6 +163,8 @@ if [[ "$(uname)" == "Darwin" ]]; then
|
|||||||
alias code="open -a 'Visual Studio Code'"
|
alias code="open -a 'Visual Studio Code'"
|
||||||
alias xclip="pbcopy"
|
alias xclip="pbcopy"
|
||||||
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-on="sudo pmset -b sleep 5; sudo pmset -b disablesleep 0"
|
||||||
|
|
||||||
# Terraform
|
# Terraform
|
||||||
export TFENV_ARCH=amd64
|
export TFENV_ARCH=amd64
|
||||||
|
Loading…
Reference in New Issue
Block a user