Skip to content

Instantly share code, notes, and snippets.

@sometimesfood
Created May 12, 2011 11:37
Show Gist options
  • Save sometimesfood/968350 to your computer and use it in GitHub Desktop.
Save sometimesfood/968350 to your computer and use it in GitHub Desktop.
Set up grml console config
#!/bin/bash
mkdir -p ~/.dotfiles
git clone git://git.grml.org/grml-etc-core.git ~/.dotfiles/grml-etc-core
cd ~/.dotfiles/grml-etc-core
export LAST_RELEASE=$(git describe)
git checkout $LAST_RELEASE
ln -sf ~/.dotfiles/grml-etc-core/etc/grml/screenrc_generic ~/.screenrc
ln -sf ~/.dotfiles/grml-etc-core/etc/vim/vimrc ~/.vimrc
ln -sf ~/.dotfiles/grml-etc-core/etc/zsh/zshrc ~/.zshrc
touch ~/.zshrc.local
chsh -s /bin/zsh $USER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment