Don't understand german? Read or subscribe to my english-only feed.

Make console work comfortable

Update on 2024-02-16: provide curl usage instructions.

Update on 2020-12-04: include tmux.conf.

Update on 2017-01-27: provide easy to remember grml.org/console/$filename URLs.

Update on 2009-02-13: adjust zshrc setup as .zshrc.global is deprecated, see grml-zsh-refcard.

Update on 2008-10-10: replace old hg.grml.org URLs with current git.grml.org.

Update on 2009-08-11: refer to /etc/vim/vimrc as /etc/vim/vimrc and /etc/skel/.vimrc have been merged

You like grml‘s Zsh, GNU screen and Vim configuration? No problem to get that on non-grml/non-Debian/non-Linux/… systems as well. Just copy/paste the following lines which are stolen from one of my personal cheatsheets for working on foreign systems (being Linux as well as Solaris, BSD, Windows,…):

# IMPORTANT: please note that you might override existing
# configuration files in the current working directory! => 
wget -O .screenrc   https://grml.org/console/screenrc
wget -O .tmux.conf  https://grml.org/console/tmux.conf
wget -O .vimrc      https://grml.org/console/vimrc
wget -O .zshrc      https://grml.org/console/zshrc
# optional:
# wget -O .zshrc.local        http://git.grml.org/f/grml-etc-core/etc/skel/.zshrc

Or if you prefer curl instead:

# IMPORTANT: please note that you might override existing
# configuration files in the current working directory! => 
curl -L -o .screenrc   https://grml.org/console/screenrc
curl -L -o .tmux.conf  https://grml.org/console/tmux.conf
curl -L -o .vimrc      https://grml.org/console/vimrc
curl -L -o .zshrc      https://grml.org/console/zshrc
# optional:
# wget -O .zshrc.local        http://git.grml.org/f/grml-etc-core/etc/skel/.zshrc

If you do not want to copy/paste just use the grml-config.sh script instead.

Notice: the above URLs always points to the most recent version of the file(s), so it’s easy to stay up2date as well as checking out a very specific version of the configuration files. Just look at http://git.grml.org/?p=grml-etc-core.git.

Disclaimer: If you notice any problems with the configuration files on your system/platform please let us know, it’s considered a bug then. Any other feedback is welcome as well of course. :)

2 Responses to “Make console work comfortable”

  1. James Says:

    I’d recommend removing the p vmap in /etc/vim/vimrc. It has various bad side effects (http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/2005-November/001577.html) and p already pastes from the ” register.

  2. mika Says:

    @James: thanks for the hint! Fixed that:
    http://hg.grml.org/grml-etc-core/rev/10f9529b5d6e

    regards,
    -mika-