mirror of
https://github.com/danbee/mac-setup
synced 2025-03-04 08:39:10 +00:00
Compare commits
4 Commits
99b3fab54d
...
6269f15b36
| Author | SHA1 | Date | |
|---|---|---|---|
| 6269f15b36 | |||
| 2167583f5b | |||
| 7cc3a84817 | |||
| fb71386a04 |
1
Brewfile
1
Brewfile
@ -2,6 +2,7 @@ tap "thoughtbot/formulae"
|
||||
tap "heroku/brew"
|
||||
brew "asdf"
|
||||
brew "chunkwm"
|
||||
brew "diceware"
|
||||
brew "direnv"
|
||||
brew "git"
|
||||
brew "heroku"
|
||||
|
||||
12
lib/macos.sh
12
lib/macos.sh
@ -41,7 +41,7 @@ defaults write com.apple.print.PrintingPrefs "Quit When Finished" -bool true
|
||||
defaults write com.apple.LaunchServices LSQuarantine -bool false
|
||||
|
||||
# Remove duplicates in the “Open With” menu (also see `lscleanup` alias)
|
||||
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
|
||||
# /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
|
||||
|
||||
# Display ASCII control characters using caret notation in standard text views
|
||||
# Try e.g. `cd /tmp; unidecode "\x{0000}" > cc.txt; open -e cc.txt`
|
||||
@ -135,11 +135,11 @@ defaults write com.apple.finder QuitMenuItem -bool true
|
||||
# Finder: disable window animations and Get Info animations
|
||||
defaults write com.apple.finder DisableAllAnimations -bool true
|
||||
|
||||
# Show icons for hard drives, servers, and removable media on the desktop
|
||||
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
|
||||
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true
|
||||
defaults write com.apple.finder ShowMountedServersOnDesktop -bool true
|
||||
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true
|
||||
# Don't show icons for hard drives, servers, and removable media on the desktop
|
||||
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool false
|
||||
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool false
|
||||
defaults write com.apple.finder ShowMountedServersOnDesktop -bool false
|
||||
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool false
|
||||
|
||||
# Finder: show all filename extensions
|
||||
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
|
||||
|
||||
18
lib/tools.sh
Executable file
18
lib/tools.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
export LDFLAGS="-L/usr/local/opt/zlib/lib"
|
||||
export CPPFLAGS="-I/usr/local/opt/zlib/include"
|
||||
|
||||
cd "$HOME"
|
||||
|
||||
for tool in `awk -F " " '{print $1}' .tool-versions`; do
|
||||
asdf plugin-add "$tool"
|
||||
|
||||
if [ "$tool" == "nodejs" ]; then
|
||||
bash "$HOME/.asdf/plugins/nodejs/bin/import-release-team-keyring"
|
||||
fi
|
||||
done
|
||||
|
||||
asdf install
|
||||
|
||||
cd -
|
||||
Loading…
Reference in New Issue
Block a user