My very own dotfiles
Vim script Shell Ruby Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bash
bin
git
system
vim
zprezto @ b587a6e
zsh
.editorconfig
.gitmodules
Dockerfile
Makefile
README.md
ackrc
bootstrap
dir_colors
editorconfig
esformatter
eslintignore
eslintrc.yaml
gitconfig
gitignore_global
gvimrc
hgignore_global
install_for_mac.sh
install_homebrews.sh
install_npm_packages.sh
install_repos.sh
osx-for-hackers.sh
package.json
stylelintrc.yaml
vimrc
yarn.lock

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

While I've gone full zsh on systems I have full control over, occasionally I have to use bash, so I've tried to cobble some basic support for it.

Install

# Boot the straps!
curl https://raw.githubusercontent.com/craveytrain/dotfiles/master/bootstrap | bash

# Change shell to zsh (optional)
chsh -s $(which zsh)

# Restart your shell

Credits

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

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

And many others for your inspirations and perspirations.

TODO

  • install homebrew (if on a mac)
  • install git (optionally install ack, etc?)