Move common settings to more-common-settings.sh
This commit is contained in:
parent
49e2209133
commit
9a61816484
3 changed files with 26 additions and 60 deletions
26
full.zsh
26
full.zsh
|
@ -41,32 +41,6 @@ sudo npm install -g cordova
|
|||
echo "[DSMOSS] Install Mac App Store stuffs..."
|
||||
mas install 497799835 682658836 425424353 937984704 # XCode, GarageBand, The Unarchiver, Amphetamine.
|
||||
|
||||
# Settings
|
||||
echo "[DSMOSS] Edit settings..."
|
||||
defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
|
||||
defaults write -g ApplePressAndHoldEnabled -bool false
|
||||
defaults write com.apple.swipescrolldirection -bool false
|
||||
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
|
||||
mkdir ~/Pictures/screenies
|
||||
defaults write com.apple.screencapture location ~/Pictures/screenies
|
||||
killall SystemUIServer
|
||||
defaults write com.apple.dock static-only -bool true
|
||||
killall Dock
|
||||
defaults write com.apple.finder ShowDesktopOnFrontmostApp -bool false
|
||||
killall Finder
|
||||
|
||||
# Sneed Settings
|
||||
echo "[DSMOSS] Set sneed settings..."
|
||||
open open "/System/Library/PreferencePanes/Profiles.prefPane" "sneed-settings.mobileconfig"
|
||||
echo Enable Sneed Settings then press ENTER.
|
||||
read
|
||||
|
||||
# Setup Git
|
||||
echo "[DSMOSS] Setup Git..."
|
||||
git config --global --add credential.helper manager
|
||||
git config --global user.name "Sneed Group Holder"
|
||||
git config --global user.email "no@nope.nicetry"
|
||||
|
||||
# Install DOOM shareware
|
||||
echo "[DSMOSS] [GZD] Install DOOM Shareware..."
|
||||
brew install --cask gzdoom
|
||||
|
|
33
lite.zsh
33
lite.zsh
|
@ -28,8 +28,6 @@ brew tap localsend/localsend
|
|||
brew install localsend
|
||||
brew install --cask nvidia-geforce-now roblox
|
||||
brew install git-credential-manager
|
||||
brew tap macos-fuse-t/homebrew-cask
|
||||
brew install fuse-t fuse-t-sshfs
|
||||
brew install --cask twingate
|
||||
|
||||
# NPM global
|
||||
|
@ -40,31 +38,6 @@ sudo npm install -g cordova
|
|||
echo "[DSMOSS] Install Mac App Store stuffs..."
|
||||
mas install 425424353 937984704 # The Unarchiver, Amphetamine.
|
||||
|
||||
# Settings
|
||||
echo "[DSMOSS] Edit settings..."
|
||||
defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
|
||||
defaults write -g ApplePressAndHoldEnabled -bool false
|
||||
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
|
||||
mkdir ~/Pictures/screenies
|
||||
defaults write com.apple.screencapture location ~/Pictures/screenies
|
||||
killall SystemUIServer
|
||||
defaults write com.apple.dock static-only -bool true
|
||||
killall Dock
|
||||
defaults write com.apple.finder ShowDesktopOnFrontmostApp -bool false
|
||||
killall Finder
|
||||
|
||||
# Sneed Settings
|
||||
echo "[DSMOSS] Set sneed settings..."
|
||||
open open "/System/Library/PreferencePanes/Profiles.prefPane" "sneed-settings.mobileconfig"
|
||||
echo Enable Sneed Settings then press ENTER.
|
||||
read
|
||||
|
||||
# Setup Git
|
||||
echo "[DSMOSS] Setup Git..."
|
||||
git config --global --add credential.helper manager
|
||||
git config --global user.name "Sneed Group Holder"
|
||||
git config --global user.email "no@nope.nicetry"
|
||||
|
||||
# Install DOOM shareware
|
||||
echo "[DSMOSS] [CHOCOD] Install DOOM Shareware..."
|
||||
brew install chocolate-doom
|
||||
|
@ -89,12 +62,6 @@ echo 'export PATH="/usr/local/opt/openjdk@21/bin:$PATH"' >> ~/.zshrc
|
|||
wget https://github.com/HMCL-dev/HMCL/releases/download/v3.5.9.259/HMCL-3.5.9.259.sh -O ~/Minecraft.sh
|
||||
chmod +x ~/Minecraft.sh
|
||||
|
||||
# Create cloud init....
|
||||
echo "[DSMOSS] Create cloud init..."
|
||||
mkdir ~/Cloud
|
||||
echo 'sshfs dh_ekhqt7@pdx1-shared-a3-04.dreamhost.com:/home/dh_ekhqt7/rfs.sparksammy.com/LordCloud ~/Cloud' > ~/cloudinit.sh
|
||||
chmod +x ~/cloudinit.sh
|
||||
|
||||
# Create SSH helpers...
|
||||
echo "[DSMOSS] Create SSH helpers..."
|
||||
echo 'ssh root@192.168.50.144' > ~/ssh-to-felix.sh
|
||||
|
|
|
@ -110,4 +110,29 @@ echo "[DSMOSS] Add NextDNS..."
|
|||
open "/System/Library/PreferencePanes/Profiles.prefPane" "nxt.mobileconfig"
|
||||
echo Enable NextDNS then press ENTER.
|
||||
read
|
||||
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
|
||||
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
|
||||
|
||||
# Settings
|
||||
echo "[DSMOSS] Edit settings..."
|
||||
defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
|
||||
defaults write -g ApplePressAndHoldEnabled -bool false
|
||||
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
|
||||
mkdir ~/Pictures/screenies
|
||||
defaults write com.apple.screencapture location ~/Pictures/screenies
|
||||
killall SystemUIServer
|
||||
defaults write com.apple.dock static-only -bool true
|
||||
killall Dock
|
||||
defaults write com.apple.finder ShowDesktopOnFrontmostApp -bool false
|
||||
killall Finder
|
||||
|
||||
# Sneed Settings
|
||||
echo "[DSMOSS] Set sneed settings..."
|
||||
open open "/System/Library/PreferencePanes/Profiles.prefPane" "sneed-settings.mobileconfig"
|
||||
echo Enable Sneed Settings then press ENTER.
|
||||
read
|
||||
|
||||
# Setup Git
|
||||
echo "[DSMOSS] Setup Git..."
|
||||
git config --global --add credential.helper manager
|
||||
git config --global user.name "Sneed Group Holder"
|
||||
git config --global user.email "no@nope.nicetry"
|
Loading…
Reference in a new issue