From da4eddecf5925e83b0adccca48cb70a0d9315efd Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Fri, 29 Jun 2012 20:28:50 +0300 Subject: [PATCH] bashrc & zshrc: add alias for seeing where http.debian.net puts you to. See comment. --- bashrc | 3 +++ zshrc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/bashrc b/bashrc index e9c7b75c..af6c0b67 100644 --- a/bashrc +++ b/bashrc @@ -314,6 +314,9 @@ alias scat="gpg --decrypt " # To check are keys, which apt uses changed alias apt-key-refresh-keys="apt-key adv --keyserver pool.sks-keyservers.net --refresh-keys" +# To see which mirror http.debian.net puts you to. The file which has the latest update time is the mirror which you are using. +alias http.debian.net="lynx http.debian.net/debian/project/trace/" + # Allow custom aliases to be put in .aliases or .bash_aliases . # .aliases diff --git a/zshrc b/zshrc index 82df6ad0..1a8704e2 100644 --- a/zshrc +++ b/zshrc @@ -263,6 +263,9 @@ alias scat="gpg --decrypt " # To check are keys, which apt uses changed alias apt-key-refresh-keys="apt-key adv --keyserver pool.sks-keyservers.net --refresh-keys" +# To see which mirror http.debian.net puts you to. The file which has the latest update time is the mirror which you are using. +alias http.debian.net="lynx http.debian.net/debian/project/trace/" + # .aliases if [ -f ~/.aliases ]; then source ~/.aliases