Skip to content

fieteboerner/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Welcome to my world. This is a collection of vim, tmux, zsh and several other configurations.

Contents

Initial Setup and Installation

apt-get install git-core

Then, clone the dotfiles repository to your computer. This can be placed anywhere, and symbolic links will be created to reference it from your home directory.

git clone https://github.com/fieteboerner/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./install.sh

install.sh will start by initializing the submodules used by this repository. Then, it will install all symbolic links into your home directory. Then, this script will create a ~/.vim-tmp directory in your home directory, as this is where vim is configured to place its temporary files.

Next the install script will extend apt source.list files for google-chrome spotify, ... and install all packages and software to linux machine.

ZSH Setup

ZSH is configured in the zshrc.symlink file, which will be symlinked to the home directory. The following occurs in this file:

  • set the EDITOR to vim
  • Recursively search the $DOTFILES/zsh directory for files ending in .zsh and source them
  • Add the ~/bin and $DOTFILES/bin directories to the path
  • And more...

Prompt

The prompt is meant to be simple while still providing a lot of information to the user, particularly about the status of the git project, if the PWD is a git project. This prompt sets precmd, PROMPT and RPROMPT.

The precmd shows the current working directory in it and the RPROMPT shows the git and suspended jobs info.

Prompt Git Info

The git info shown on the RPROMPT displays the current branch name, and whether it is clean or dirty.

Vim Setup

Installation

link.sh will symlink the XDG configuration directory into your home directory and will then create symlinks for .vimrc and .vim.

Inside of .zshrc, the EDITOR shell variable is set to vim, defaulting to Vim for editor tasks, such as git commit messages. Additionally, I have aliased vim in aliases.zsh

vim should just work once the correct plugins are installed. To install the plugins, you will need to open vim in the following way:

vim +PlugInstall

Tmux Configuration

TODO: Documentation coming soon.