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" 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. # 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. # Amount of keys in GPG keyring.
alias gpg-key-amount="gpg --list-keys|grep '^pub'|wc -l" 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 ] if [ ! -f /usr/share/doc/gnupg-curl/copyright ]
then then

View File

@ -5,6 +5,7 @@ command -v \gpg2 >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg2 isn't installed!
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 \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 \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 or functions."; } 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 ## 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" 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. # 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. # Amount of keys in GPG keyring.
alias gpg-key-amount="gpg --list-keys|grep '^pub'|wc -l" alias gpg-key-amount="gpg --list-keys|grep '^pub'|wc -l"