diff --git a/README.md b/README.md index df80d81..7e917d9 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,32 @@ dotfiles Configuration for zsh, vim, awesome, ... +## XDG + +Some configurations use XDG standard. + +``` +export DOTFILES=$(pwd) +export PROG=zsh vim git tmux dunst rofi i3blocks + +for config in $PROG; do ln -s $DOTFILES/$config $XDG_CONFIG_HOME/; done +``` + +# zsh + +``` +ln -s $DOTFILES/zsh/.zshenv $HOME/ +git clone https://github.com/zsh-users/zsh-completions.git $XDG_CONFIG_HOME/zsh/zsh-completions +``` + +# vim + +``` +mkdir -p $XDG_CONFIG_HOME/vim/bundle +git clone https://github.com/gmarik/vundle.git $XDG_CONFIG_HOME/vim/bundle/vundle +vim +BundleInstall +qall +``` + ## LICENSE Everything in this repository is released under the WTFPL. diff --git a/vim/README.md b/vim/README.md deleted file mode 100644 index 2e0bf83..0000000 --- a/vim/README.md +++ /dev/null @@ -1,6 +0,0 @@ -``` -ln vimrc ~/.vimrc -mkdir -p ~/.vim/bundle -git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle -vim +BundleInstall +qall -```