Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

My dotfiles

I prefer most of my settings to live in the XDG_CONFIG_HOME in order to hide them and keep them all under version control. I place mine in /home/bertabus/.config in keeping with the freedesktop standards. Don't forget to create these files if they don't exist already.

mkdir ~/.config
mkdir ~/.cache

.gitignore will exclude everything that is in the directory except those files/folders explicitly called out. The easiest way to clone is to do it in a clean folder and move everything from there to where you want it.

In order to get PATHs setup right edit your bash or zsh environment.

# File at /etc/zsh/zshenv

if [[ -z "$XDG_CONFIG_HOME" ]]
then
        export XDG_CONFIG_HOME=$HOME/.config
fi

if [[ -d "$XDG_CONFIG_HOME/zsh" ]]
then
        export ZDOTDIR="$XDG_CONFIG_HOME/zsh/"
fi


if [[ -z "$XDG_CACHE_HOME" ]]
then
        export XDG_CACHE_HOME=$HOME/.cache
fi

Next to get X11 set up without needing to move files edit gdm/kdm/xdm/slim loader config.

# File at /etc/slim.conf
# the pertinent line should read
login_cmd  exec /bin/bash -login ~/.config/X11/.xinitrc %session

But while your there it is nice to turn numlock on at boot in slim.conf as well.

my ZSHrc is heavily dependant on oh-my-zsh and I clone mine in ~/.config/oh-my-zsh/ (just take a look in my zshrc). Clone my config with

cd ~/.config
git clone https://github.com/bertabus/dotfiles .

Problems can arise when connecting to remote hosts over ZSH, I solve this by copying over my shell with something along the lines of:

# on remote server
mkdir -p ~/.terminfo/rl
# on localhost machine
scp /usr/share/terminfo/r/rxvt-256color user@server.com:.terminfo/r/

Vim won't work right without setting RTP and cloning vundle

git clone https://github.com/gmarik/vundle.git ~/.config/vim/bundle/vundle

Also take a look at the my UDEV rules that are useful for various embedded programmers.

I really like xmonad, I don't have a clever way to locate them in .config permanently so symlink them as usual

ln -s ~/.config/xmonad ~/.xmonad
xmonad --recompile
xmonad --restart
Something went wrong with that request. Please try again.