home-profile: zsh add speedtest, use lib.getExe

This commit is contained in:
Mateusz Słodkowicz 2024-03-31 00:35:26 +01:00
parent e442af49ba
commit 6da0978779
Signed by: materus
SSH Key Fingerprint: SHA256:rzVduzTiiszuYfLPYD0SDZV+g8lxhpcRgpbOZA1X0Uo
1 changed files with 5 additions and 1 deletions

View File

@ -138,7 +138,11 @@ in
}
myip() {
wget -qO- https://wtfismyip.com/text
${lib.getExe pkgs.wget} -qO- https://wtfismyip.com/text
}
speedtest() {
${lib.getExe pkgs.curl} -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | ${lib.getExe pkgs.python3}
}