Dotfiles for Mac PowerBook (maya, cronus, seawater).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Charles Reid 8c0667164d Merge branch 'master' of github.com:charlesreid1/mac-dotfiles 2 months ago
.vim/colors add vimrc colorrrrzzzz 1 year ago
scripts adding scripts and scripts dir to mac dotfiles 1 year ago
.aliases sync up the dotfiles 2 months ago
.bash_profile sync up the dotfiles 2 months ago
.bash_prompt fix bash prompt 5 months ago
.bashrc no brew references in PS1 plz 1 year ago
.curlrc Actually adding the dotfiles 2 years ago
.exports Actually adding the dotfiles 2 years ago
.functions Actually adding the dotfiles 2 years ago
.gdbinit Actually adding the dotfiles 2 years ago
.gitattributes Actually adding the dotfiles 2 years ago
.gitconfig add commit alias to gitconfig 8 months ago
.gitignore Actually adding the dotfiles 2 years ago
.gvimrc Actually adding the dotfiles 2 years ago
.hushlogin Actually adding the dotfiles 2 years ago
.inputrc add commented-out vi option (FYI) 2 years ago
.screenrc Actually adding the dotfiles 2 years ago
.tmux.conf add copy-paste-friendly keybindings for copy mode 1 year ago
.tmux.session1 add pre-configured session and keyboard shortcut to tmux conf 1 year ago
.vimrc fix comment 2 months ago
LICENSE Adding MIT license 2 years ago
README.md update readme and instructions 8 months ago
bootstrap.sh more warn 11 months ago
brew_install.sh add gettext to brew install 1 year ago
diff_dotfiles.sh add script to diff two files 1 year ago
go_install.sh add go setup/install scripts and call them from pre_bootstrap 1 year ago
go_setup.sh make go/python skip if existing verison already found 1 year ago
mac_settings.sh remove iterm cruft from mac settings. not working. 1 year ago
pre_bootstrap.sh change order of setup/install 1 year ago
python_install.sh add virtualenv, boto3 to python install 1 year ago
python_setup.sh make go/python skip if existing verison already found 1 year ago
scripts_setup.sh adding scripts and scripts dir to mac dotfiles 1 year ago
set_machine_name.sh fix how set machine name script handles sudo 1 year ago
vim_setup.sh install jedi-vim 1 year ago

README.md

Mac Dotfiles

Repository containing dotfiles appropriate for use on Mac laptops.

Quick Start

Before you begin, you should review all of the
steps in this quick start, so that you understand
what will happen when you run these scripts.
Otherwise, you may lose your dotfiles!

Step 1: Pre-Bootstrap

Step 1: Run pre bootstrap script:

./pre_bootstrap.sh

This script does the following:

  • Creates an SSH key
  • Installs scripts to the ~/scripts directory
  • Installs vim plugins and creates the ~/.vim directory structure
  • Changes Mac settings and defaults
  • Installs and configures python (we use pyenv
    to install and manage multiple versions of Python
    side-by-side)
  • Installs Homebrew (the Mac package manager)
  • Installs useful packages using Homebrew
  • Sets bash as the default shell (happens after
    the Homebrew version of bash has been installed)

It is recommended you review the settings that will
be changed on your Mac (mac_settings.sh) and the
software that will be installed (brew_install.sh)
before you run any scripts.

Step 2: Bootstrap

The bootstrap script will do a diff between your
dotfiles and the new dotfiles, so you can see
all the changes that you will lose (in red) and
all of the new content (in green).

If there are many changes, do the diff manually by
running the script:

./diff_dotfiles.sh

Otherwise, run the bootstrap script, review the
changes, and type “y” or “yes”:

./bootstrap.sh

Again, the bootstrap script will ask you for your
confirmation before overwriting your files,
but you will lose unsaved changes in your
existing dotfiles
!

How Does This Repo Work?

This repository contains dotfiles in the top
level of the repository. These dotfiles are
installed using the bootstrap.sh script.
That’s the main purpose of the repository.

But because there are a lot of supplementary
things to do when customizing a new or existing
Mac, we have the pre_boostrap.sh script to
perform those tasks.

We recommend you open the scripts and read them
to see what they do.