User Tools

Site Tools


osx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
osx [2017/09/15 14:09] – [One-finger drag] tkbletscosx [2021/11/15 08:42] (current) – removed tkbletsc
Line 1: Line 1:
-====== OSX ====== 
-Okay here we go into OSX land I guess???? 
- 
-===== Homebrew ===== 
-It's apt-get for osx. 
- 
-Run the command listed here: https://brew.sh/ 
- 
-You might have to manually install the XCode Command Line tools from [[http://developer.apple.com/downloads|here]], which frustratingly requires an Apple ID. If you don't, you won't have git, and brew won't work.  
- 
-===== Better bash ===== 
-Do [[https://blog.bennycornelissen.nl/bash-4-x-on-osx-the-bash-that-apple-wont-ship/|this stuff]] to get bash 4.x: 
- 
-  $ brew install bash bash-completion 
-  $ sudo -i 
-  Password:   
-  # echo "$(brew --prefix)/bin/bash" >> /etc/shells 
-  # exit 
-  $ chsh -s $(brew --prefix)/bin/bash 
- 
-===== Default to brew-based utils ===== 
-The shell is now changed, but if you type "bash" by itself, it still launches that ridiculous dinosaur shell that Apple ships. To change the path order to prefer installed alternatives, add this to .bashrc: 
- 
-  export PATH=/usr/local/bin:$PATH 
- 
- 
-===== 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 "source ~/.mybashrc" to ~/.profile (creating this file if it doesn't exist). 
- 
-==== Kit tweaks ==== 
-  * Change ls alias from "ls --color=auto" to "ls -G" in .mybashrc 
-  * 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 "Trackpad", but rather in the trackpad part of the Accessibility options. [[http://www.guidingtech.com/34353/re-enable-mavericks-features/|See here for details]]. 
- 
-===== 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.1505509740.txt.gz · Last modified: 2017/09/15 14:09 by tkbletsc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki