From 46b31f8c97bcd2aeb5fc703e253856e438bd02e3 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 27 Jan 2017 15:34:07 +0100 Subject: [PATCH] Provide redirects to zshrc, vimrc + screenrc via grml.org/console/$file [Closes: issue2168] Now it's possible to simply do: wget -O .screenrc https://grml.org/console/screenrc wget -O .vimrc https://grml.org/console/vimrc wget -O .zshrc https://grml.org/console/zshrc --- console/.htaccess | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 console/.htaccess diff --git a/console/.htaccess b/console/.htaccess new file mode 100644 index 0000000..b62f2c6 --- /dev/null +++ b/console/.htaccess @@ -0,0 +1,7 @@ +RewriteEngine on +RewriteRule index.html$ https://michael-prokop.at/blog/2007/12/22/make-console-work-comfortable/ +RewriteRule ^$ https://michael-prokop.at/blog/2007/12/22/make-console-work-comfortable/ +RewriteRule zshrc(/?)$ https://git.grml.org/f/grml-etc-core/etc/zsh/zshrc +RewriteRule vimrc(/?) https://git.grml.org/f/grml-etc-core/etc/vim/vimrc +RewriteRule screenrc(/?) https://git.grml.org/f/grml-etc-core/etc/grml/screenrc_generic +AddDefaultCharset UTF-8 -- 2.1.4