bashrc & zshrc: http.debian.net alias doesn't need browser anymore.

This commit is contained in:
Mika Suomalainen 2012-08-19 10:28:09 +03:00
parent f3c0211824
commit 0e5c97b0f1
4 changed files with 5 additions and 4 deletions

2
bashrc
View File

@ -314,7 +314,7 @@ alias scat="gpg --decrypt "
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/"
curl -s http://ftp.fi.debian.org/debian/project/trace/|pandoc -f html -t markdown
# Amount of keys in GPG keyring.
alias gpg-key-amount="gpg --list-keys|grep '^pub'|wc -l"

View File

@ -1,4 +1,4 @@
command -v \youtube-dl >/dev/null 2>&1 || { echo >&2 "shell-things contains youtube-dl alias for automatically setting video title as name."; }
command -v \youtube-dl >/dev/null 2>&1 || { echo >&2 "shell-things contains youtube-dl alias for automatically setting video title as name, so you might want to install youtube-dl."; }
if [ ! -f /usr/share/doc/gnupg-curl/copyright ]
then

View File

@ -4,7 +4,8 @@ command -v \htop >/dev/null 2>&1 || { echo >&2 "WARNING: htop isn't installed! Y
command -v \gpg2 >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg2 isn't installed! You should install it, because it's used as gpg."; }
command -v \lynx >/dev/null 2>&1 || { echo >&2 "WARNING: lynx isn't installed! You should install it, because it's used by many functions."; }
command -v \gpg-agent >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg-agent isn't installed. You should install it, because it's used by gpg.conf and xsessionrc in shell-things."; }
command -v \curl >/dev/null 2>&1 || { echo >&2 "WARNING: curl isn't installed! You should install it, because it's used by some aliases orfunctions."; }
command -v \curl >/dev/null 2>&1 || { echo >&2 "WARNING: curl isn't installed! You should install it, because it's used by some aliases or functions."; }
command -v \youtube-dl >/dev/null 2>&1 || { echo >&2 "WARNING: pandoc isn't installed. It's used by some aliases or functions, so you might want to install it."; }
## To disable warnings, add the following (UNCOMMENTED!) to ~/.custom

2
zshrc
View File

@ -263,7 +263,7 @@ alias scat="gpg --decrypt "
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/"
curl -s http://ftp.fi.debian.org/debian/project/trace/|pandoc -f html -t markdown
# Amount of keys in GPG keyring.
alias gpg-key-amount="gpg --list-keys|grep '^pub'|wc -l"