mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
bashrc & zshrc: http.debian.net alias doesn't need browser anymore.
This commit is contained in:
parent
f3c0211824
commit
0e5c97b0f1
2
bashrc
2
bashrc
@ -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"
|
||||||
|
@ -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
|
||||||
|
3
warnings
3
warnings
@ -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 \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 \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 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
|
## To disable warnings, add the following (UNCOMMENTED!) to ~/.custom
|
||||||
|
|
||||||
|
2
zshrc
2
zshrc
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user