osx
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| osx [2021/11/15 08:20] – tkbletsc | osx [2021/11/15 08:42] (current) – removed tkbletsc | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== OSX ====== | ||
| - | Okay here we go into OSX land I guess???? | ||
| - | |||
| - | ===== Install OS on a wiped Mac ===== | ||
| - | One nice thing on Mac is that you can install the OS from scratch with nothing. Hit power-on, and hold one of these: | ||
| - | * Command-R: Start up from the built-in macOS Recovery system. | ||
| - | * Option-Command-R: | ||
| - | * Shift-Option-Command-R: | ||
| - | |||
| - | Why not have the above just ask you with a nice menu what to install and how? No goddamn clue. Anyway, [[https:// | ||
| - | |||
| - | NOTE: If you have a 2015-era Mac and you try to install the latest MacOS, it may fail cryptically with an error like " | ||
| - | |||
| - | ===== App store and AppleID ===== | ||
| - | In this walled garden nightmware world, you have to have an AppleID to make just about anything work. [[https:// | ||
| - | |||
| - | ===== OS update ===== | ||
| - | These idiot goblins forgot what numbers are, so [[https:// | ||
| - | |||
| - | If updating from " | ||
| - | |||
| - | Then, and I can't stress enough how magically stupid this is, when you login to the app store, do it normally once and have it fail, then put in your password //and concatenate the MFA code you just got//. Then you can actually login and get the OS update. The new OS will be aware of MFA. | ||
| - | |||
| - | ===== Homebrew ===== | ||
| - | It's apt-get for osx. | ||
| - | |||
| - | Run the command listed here: https:// | ||
| - | |||
| - | You might have to manually install the XCode Command Line tools from [[http:// | ||
| - | |||
| - | ===== Better bash ===== | ||
| - | Do [[https:// | ||
| - | |||
| - | $ brew install bash bash-completion | ||
| - | $ sudo -i | ||
| - | Password: | ||
| - | # echo " | ||
| - | # exit | ||
| - | $ chsh -s $(brew --prefix)/ | ||
| - | |||
| - | ===== Default to brew-based utils ===== | ||
| - | The shell is now changed, but if you type " | ||
| - | |||
| - | export PATH=/ | ||
| - | |||
| - | ===== Terminal settings ===== | ||
| - | Import [[http:// | ||
| - | * Correct colors (background=black, | ||
| - | * Decent default shell size (~100x30) | ||
| - | * In ' | ||
| - | * Set profile as default & startup | ||
| - | |||
| - | Resist the urge to start with ' | ||
| - | ===== My kit ===== | ||
| - | My environment kit does work on OSX. You just need modern Bash (see above) and modern base64: | ||
| - | |||
| - | $ brew install base64 | ||
| - | |||
| - | Then deploy kit per usual. | ||
| - | |||
| - | Shell settings may not be deployed automatically -- in this case, add " | ||
| - | |||
| - | ==== Kit tweaks ==== | ||
| - | * Change ls alias from "ls --color=auto" | ||
| - | * Remove bin/clear | ||
| - | ===== One-finger drag ===== | ||
| - | I can't understand why, but standard one-finger tap-then-drag isn't enabled by default. Weirdly, the option is NOT under " | ||
| - | |||
| - | ===== Scroll the correct way ===== | ||
| - | All scrolling is backwards by default. To fix: | ||
| - | |||
| - | System Preferences > Trackpad > Scroll & Zoom > Scroll direction: natural -> OFF | ||
| - | ===== More brew stuff ===== | ||
| - | This is basically the cygwin list adapted for brew: | ||
| - | |||
| - | $ brew install lynx links nano wget rsync unzip vim openssh screen gcc gdb make bash-completion git python3 | ||
osx.1636993235.txt.gz · Last modified: by tkbletsc
