.files based somewhat on http://mths.be/dotfiles
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.
.vim
init
.aliases
.bash_profile
.bash_prompt
.bash_prompt2
.bashrc
.brew
.editorconfig
.exports
.functions
.gitconfig
.gitignore
.inputrc
.osx
.screenrc
.vimrc
.wgetrc
bootstrap.sh
readme.md

readme.md

Marko's dotfiles.

Some essential settings for Bash, Vim, Screen etc.

Based on Mathias's dotfiles.

Overview of files

Automatic config

  • .vimrc, .vim - vim config, obv.

shell environment

  • .aliases
  • .bash_profile
  • .bash_prompt
  • .bashrc
  • .exports
  • .functions
  • .extra - not included, for private config which you do not commit to this repo
  • .inputrc - config for bash readline

Installation

git clone https://github.com/walokra/dotfiles.git && cd dotfiles && source bootstrap.sh

To update, cd into your local dotfiles repository and then:

source bootstrap.sh

Alternatively, to update while avoiding the confirmation prompt:

set -- -f; source bootstrap.sh

Specify the $PATH

If ~/.path exists, it will be sourced along with the other files, before any feature testing (such as detecting which version of ls is being used) takes place.

Here’s an example ~/.path file that adds ~/utils to the $PATH:

export PATH="$HOME/utils:$PATH"

Add custom commands without creating a new fork

If ~/.extra exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.

Sensible OS X defaults

When setting up a new Mac, you may want to set some sensible OS X defaults:

./.osx

Thanks to…