nyimbi / dotfiles-ohmyzsh

Simplified and Augmented dotfiles with myriad goodies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nyimbi's dotfiles (for Oh my zsh)

Installation

A Bit of Background

I have tweaked this set of dotfiles to suit my development workflow. The tools I generally use are:

  • Macports: does all the linux/unix FOSS goodness for me (I know about homebrew, but hey...)
  • SublimeText
  • Atom.io: with emmet, elixir, rust, packages
  • Brackets.io: For HTML style stuff, when I need visual feedback quick
  • Jekyll and Nanoc: for generating static websites in a hurry
  • iTerm2: as a souped up terminal
  • QuickSilver: As a launcher
  • Postgres.app: For a self contained Postgresql when I need it
  • Dropbox: And my src directory is kept here too

The Bootstrap Script will download and setup my day-to-day programming languages and tools

  • Rust: IUP, wxwidgets
  • Python: Numpy, scipy, sympy, matplotlib, opencv, pyqt, ipython, pandas, orange, wxPython, simplecv
  • Julia
  • racket
  • go
  • node.js
  • meteor: Really great for mobile apps and ridiculously easy to learn

Prerequisites

  • Download and install xcode the latest version
  • run the bootstrap.sh script to setup your mac - will take a while, be patient

Tweaks

  • Added a .extra file to hold my custom configs for all my macs, change to suit you
  • I use macports. not homebrew (silly I know, but hey)
  • It seems generally necessary to setup LC_ALL, LC_LANG, LC_LANGUAGE on remote servers so I do that
  • (toDo) Modified ssh ServerKeepAlive
  • my code directory is generall ~/src so I point to that alot
  • My favorite tools: Sublime Text, Atom.io, Brackets.io
  • Of course I am using ohmyz.sh and iTerm2
  • I like Dash (https://kapeli.com/dash)
  • Since I am totally silly I install all my python packages in the system folders. so I set PYTHONPATH (Helps macports install opencv)
  • the .osx seems particularly dangerous. so commented out everything. Enable only what you need

Using Git and the bootstrap script

You can clone the repository wherever you want. (I like to keep it in ~/Projects/dotfiles, with ~/dotfiles as a symlink.) The bootstrapper script will pull in the latest version and copy the files to your home folder.

git clone https://github.com/nyimbi/ohmyzsh-dotfiles.git

The bootstrap.sh file currently doesn't work, so just copy any of the dotfiles you like into your home directory.

Git-free install

To install these dotfiles without Git:

cd; curl -#L https://github.com/mattstauffer/ohmyzsh-dotfiles/tarball/master | tar -xzv --strip-components 1 --exclude={README.md,bootstrap.sh}

To update later on, just run that command again.

Specify the $PATH

If ~/.mix-path exists, it will be sourced along with the other files, before any feature testing (such as detecting which version of ls is being used) takes place.

Here’s an example ~/.mix-path file that adds ~/utils to the $PATH:

export PATH="$HOME/utils:$PATH"

Add custom commands without creating a new fork

If ~/.mix-extra exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.

Install Homebrew formulae

When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):

brew bundle .brewfile

Original (Bash dotfiles) Author

twitter/mathias
Mathias Bynens

Thanks to…

About

Simplified and Augmented dotfiles with myriad goodies

License:GNU General Public License v2.0


Languages

Language:Vim Script 90.1%Language:Shell 9.9%