/dotfiles

OSX, Homebrew, fish, git, Slate.

Primary LanguageShell

Hjrnunes’s dotfiles

OSX, Homebrew, fish, git, Slate.

Features

  • Bootstrap script (bootstrap.bash) that syncs dotfiles to home dir, installs latest fish with Homebrew if missing and applies fish settings (universal vars)
  • fish config (.config/fish) including 2-line prompt with user, host, working dir, git status (assumes terminal with dark background); e.g.
    Prompt example (fresh)
    Experimental hack: The user, host and current working dir parts are dimmed when they don't change for less distraction; e.g.
    Prompt example (dimmed)
  • Slate settings (minimal for now)
  • Homebrew formulae (brew.bash)
  • OSX settings (osx.bash)—need a review

The latter two borrow heavily from @mathiasbynens's dotfiles.

Installation

Prerequisite: Homebrew.

  1. ./bootstrap.bash (or ./bootstrap.bash -f to avoid the confirmation prompt)
  2. If necessary, add fish to the system shells and make it your default shell:
    • Add /usr/local/bin/fish to /etc/shells
    • chsh -s /usr/local/bin/fish

Feedback

Suggestions and improvements welcome.

Thanks

Original inspiration from https://github.com/mathiasbynens/dotfiles.