Skip to content

danyshaanan/.home

Repository files navigation

OSX initial setup

Get a proper file system

Case-insensitive file systems are bad for you. Reformat your drive to a case-sensitive one:

Open Recovery mode by booting while holding Command-R, use disk utility to reformat your drive to Mac OS Extended (Case-sensitive, Journaled), and use the installer to reinstall your OS over the web.

If you don't want to wait several hours for the download to complete, you can create a bootable installer ahead of time, and run it from the Startup Manager which is accessed by booting while holding the Option key.

Note: The Steam game platform refuses to run on case sensitive file systems.

Get Git

  • Open the terminal and type git to trigger the installation of xcode's dev tools.

Install these dot files:

git clone https://github.com/danyshaanan/.home.git ~/.home
bash ~/.home/init.sh
chsh -s /bin/bash

Run the OSX init setup script:

bash ~/.home/bin/scripts/osx_settings.sh

Install brew, brew-cask, nvm, and rvm:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# remove old node version with http://tinyurl.com/removenode
git clone https://github.com/creationix/nvm.git ~/.nvm
cd ~/.nvm && git checkout `git describe --abbrev=0 --tags` && bash
nvm install stable && nvm alias default stable
# required `[ -s ~/.nvm/nvm.sh ] && . ~/.nvm/nvm.sh` is included in .home
curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ignore-dotfiles
rvm install 2.2.1
# required `[ -s ~/.rvm/scripts/rvm ] && . ~/.rvm/scripts/rvm` is included in .home

Main installations

brew install gnupg2 pinentry pass micro ncdu ranger nnn autojump openfortivpn nmap
brew install git tig unrar imagemagick mpg123 youtube-dl slurm htop gs pdfcrack
brew install cowsay figlet tree rename trash wget curl source-highlight telnet
brew install ffmpeg
brew install fzf ag moreutils watch fswatch duti
brew cask install java && brew install scala ocaml
brew install swi-prolog r golang
brew install nload md5sha1sum
brew install xquartz wine-stable && brew install winetricks # WINEARCH=win32 WINEPREFIX=~/.wine wine wineboot && winetricks quartz
brew install veracrypt osxfuse
brew install iterm2 firefox textmate mpv vlc transmission
brew install qlcolorcode qlmarkdown
brew install quicklook-json qlprettypatch quicklook-csv
brew install teensy arduino homebrew/cask-drivers/ftdi-vcp-driver # requires reboot or brew cask info
npm i -g nsyrc dupes cli-mandelbrot geoexif osx-wifi-cli imagesnapjs goatsay
npm i -g normit pm2 grunt-cli serve fuck-you npm-check yarn

More installations

brew install bash-completion git-extras gpg ack
brew install mdbtools mtr ssh-copy-id sshfs vim p7zip
brew install ddrescue duff testdisk fcrackzip links
brew install exif exiftool imagemagick freetype jp2a mplayer sox webp
brew install ruby ack python nginx
brew install cdparanoia lame abcde
brew install spark wdiff
brew cask install chromium sublime-text
brew cask install sequel-pro sqlite-database-browser nmap
python3 -m pip install jupyterlab

duti

duti is a command-line tool to select default applications on OSX.

Recommended setup exists in the duti.conf file and can be applied with:

duti ~/.home/conf/duti.conf

cron

Activate the .home/cron file:

crontab ~/.home/cron

Firefox config

After installing Firefox (brew cask install firefox), or after creating a new Firefox profile, run:

for d in ~/Library/Application\ Support/Firefox/Profiles/*; do ln -s ~/.home/conf/firefox.js "$d/user.js"; done

About

🏠 My OSX home dot files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •