These are things I always do with a new clean install of MacOS. Some of these are old and don't always apply, but keeping them here just in case.
-
-
Save jlafitte/47abe54162551a00e462 to your computer and use it in GitHub Desktop.
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:~/scripts | |
export CLICOLOR=1 | |
export LSCOLORS=hxFxBxDxCxegedabagacad | |
alias dir="ls -lahG" | |
alias ll="ls -lahG" | |
alias qws="python -m SimpleHTTPServer" | |
alias rscp='rsync -aP' | |
alias rsmv='rsync -aP --remove-source-files' | |
alias dnsflush='dscacheutil -flushcache;sudo killall -HUP mDNSResponder;echo DNS cache flushed' | |
alias sedit='sudo nano' | |
echo "Plan:" | |
cat ~/.plan |
set completion-ignore-case on | |
set show-all-if-ambiguous on |
I keep all of my AppData in my Google Drive folder which is synced. Google Drive will not sync symbolic links, so you have to keep the actual file in the Google Drive folder, but you can use a symbolic link in the app directory.
- Install and setup Google Drive, let it sync.
- Install RDC from the Mac App Store{:target="_blank"}
- Install Filezilla, preferrably from homebrew cask{:target="_blank"}
ln -s /Users/john/Google\ Drive/AppData/com.microsoft.rdc.mac.plist /Users/john/Library/Containers/com.microsoft.rdc.mac/Data/Library/Preferences/com.microsoft.rdc.mac.plist
sudo killall cfprefsd
ln -s /Users/john/Google\ Drive/AppData/filezilla /Users/john/.config/
/* This goes into ~/Library/KeyBindings/DefaultKeyBinding.dict */ | |
{ | |
/* home */ | |
"\UF729" = "moveToBeginningOfLine:"; | |
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; | |
/* end */ | |
"\UF72B" = "moveToEndOfLine:"; | |
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; | |
/* page up/down */ | |
"\UF72C" = "pageUp:"; | |
"\UF72D" = "pageDown:"; | |
} |
In Yosemite+ you no longer need to this. Just turn it off in System Preferences > Mission Control
I've never used this. The Dashboard seems to use a bit of RAM and possibly resources depending what widgets you have on it. I know some people like it, but I like to disable it.
sudo defaults write com.apple.dashboard mcx-disabled -boolean true
killall Dock
I've never used the notification center. The notifications just pile up and I never really see them. I know some people like it, but I like to disable it.
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
Log out and back in and notification center should be gone.
This doesn't seem to work in Yosemite, and there doesn't yet seem to be another way.
defaults write com.apple.dock pinning -string start
killall Dock
You can also use 'end' to bottom/right align it.
The information below is really no longer applicable. Java is completely unsupported on Chrome now. Just install java via homebrew and use Firefox when you need it.
[Download and install](http://support.apple.com/kb/DL1572){:target="_blank"}
[Follow procedures here](http://support.apple.com/kb/HT5559){:target="_blank"}