My very own dotfiles
Ruby Shell Python Perl JavaScript
Pull request Compare This branch is 12 commits ahead, 96 commits behind craveytrain:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
git
osx
system/functions
zsh
.gitignore
.gitmodules
README.md
Rakefile

README.md

What it is?!

This is my own personal dotfile repo. There are many others like it but this one is mine. If you're interested, feel free to fork, poach, whatever.

Prompt

The user and host is gone for a local prompt. I work on a mac or ubuntu primarily, both of which promote heavy use of sudo. As such showing the user on my local system is unnecessary. I know what user I am logged in as, I know what system I am on.

However, if I am SSH'd in somewhere, I want to know who I am as and what host I am on. So, if I am ssh'd somewhere, I show the user and hostname, otherwise just start off in the directory.

Shell

I've gone full zsh. Bash utils are not even included any more.

Install

  1. Clone the repo (be sure to grab submodules)
git clone --recursive git@github.com:craveytrain/dotfiles.git
  1. Get inside the repo
cd dotfiles
  1. Run the Rakefile
rake install
  1. Change shell to zsh
# check to see if zsh is installed
which zsh

# if not, install it (sudo apt-get install zsh, sudo brew install zsh, etc)

# change shell
chsh -s $(which zsh)

Credits

Thanks to mschout for all the help, especially on the bash stuff.

Thanks to holman for the Rakefile and inspiration for things such as the topical organization and prompt.

TODO

  • Ease installation (shell script to fetch, install homebrew and formulas & other dependencies cross platform?)