[+] Add obs to mac commands

This commit is contained in:
Hykilpikonna
2021-09-16 21:24:49 -04:00
committed by GitHub
parent 9839435d30
commit 6774ee3a8a
+8 -8
View File
@@ -27,6 +27,14 @@ alias fuss='fileusage | sortsize'
alias ds-clean="sudo find ./ -name \".DS_Store\" -depth -exec rm {} \;"
# Mac-only commands
if [[ $OSTYPE == 'darwin'* ]]; then
alias ports="netstat -ap tcp | grep -i \"listen\""
alias trash="rmtrash"
alias checkrain="/Applications/checkra1n.app/Contents/MacOS/checkra1n"
alias obs="open -n -a OBS.app"
fi
# 相合伞w
alias aiaigasa='cat ~/.splash-precolored'
@@ -96,14 +104,6 @@ mac-hostname() {
sudo scutil --set ComputerName "$name"
}
# Mac-only commands
if [[ $OSTYPE == 'darwin'* ]]; then
alias ports="netstat -ap tcp | grep -i \"listen\""
alias trash="rmtrash"
alias checkrain="/Applications/checkra1n.app/Contents/MacOS/checkra1n"
#export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles
fi
# Cut videos - cut <file name> <end time> [start time (default 00:00:00)]
cut() {
if [ "$#" -lt 2 ]; then