Provide redirects to zshrc, vimrc + screenrc via grml.org/console/$file [Closes:...
authorMichael Prokop <mika@grml.org>
Fri, 27 Jan 2017 14:34:07 +0000 (15:34 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 27 Jan 2017 14:36:30 +0000 (15:36 +0100)
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 [new file with mode: 0644]

diff --git a/console/.htaccess b/console/.htaccess
new file mode 100644 (file)
index 0000000..b62f2c6
--- /dev/null
@@ -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