Skip to content

princeofdarkness76/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chrislopresto dotfiles

These are my dotfiles. This repository is a homesick castle and adheres to the conventions specified at technicalpickles/homesick

Dotfiles Setup

gem install homesick --no-document
homesick clone chrislopresto/dotfiles
homesick symlink dotfiles --force

Environment Provisioning

I use thoughtbot/laptop to provision environments in a repeatable, idempotent fashion. The laptop script allows a user to specify additional install commands in a dotfile, which I obviously maintain in this repository here. I include the Dotfiles Setup commands specified above (among others) in this file.

This leads to a bootstrapping problem, since the laptop script needs the .laptop.localfile before it has a chance to clone the chrislopresto/dotfiles repository. Furthermore, the commands in the .laptop.local file presuppose a Sublime Text install. So some manual bootstrapping is required prior to running the laptop script.

  • Install Sublime Text
  • Install Sublime Text Package Control
    • Copy the Package Control install script
    • Launch Sublime Text
    • Launch the Sublime Text console: ctrl+`
    • Paste and execute the Package Control install script
  • Copy the latest version of the .laptop.local shim script cd ~ ; curl https://raw.githubusercontent.com/chrislopresto/dotfiles/master/home/.laptop.local -o .laptop.local ; cd -
  • Execute the latest version of the laptop script

Note that pairing the homesick clone/pull commands and the homesick unlink/symlink commands allows the script to be run repeatedly. Homesick spits out warnings that can be safely ignored.

Environment Setup

  • Install iTerm
    • Load preferences from ~/.homesick/repos/dotfiles/iterm2
  • Map CAPS LOCK to CTRL
  • Install Source Code Pro
    • Future releases will be available on GitHub
  • Install Dropbox
  • Install 1Password
  • Install Alfred
    • Activate Powerpack
    • Set sync folder to ~/Dropbox/Alfred
  • Install Tower
    • Activate
    • Install command line utility

Provisioning a Laptop'ed Vagrant Box (deprecated)

Thoughtbot publishes Vagrant boxes with the Laptop script applied. Here are instructions for running the above setup atop the Ubuntu 14.04 distro.

vagrant init thoughtbot/ubuntu-14-04-server-with-laptop ; vagrant up
vagrant ssh
cd ~ ; curl https://raw.githubusercontent.com/chrislopresto/dotfiles/master/home/.laptop.local -o .laptop.local ; cd -
bash <(wget -qO- https://raw.githubusercontent.com/thoughtbot/laptop/master/linux) 2>&1 | tee ~/laptop.log
. ~/.zshrc

Note that everything after vagrant ssh is executed in the VM.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 74.3%
  • JavaScript 15.5%
  • Vim Script 7.4%
  • Ruby 2.8%