mirror of
https://github.com/Phantop/dotfiles
synced 2025-03-28 04:49:18 +00:00
Fish: covid tracking
This commit is contained in:
parent
a7f02819c5
commit
ee0e6bcc6c
|
@ -8,3 +8,5 @@ set -gx PAGER "nvim -c 'set ft=man' -"
|
||||||
set -U Z_CMD "j"
|
set -U Z_CMD "j"
|
||||||
|
|
||||||
set -x QT_QPA_PLATFORMTHEME gtk2
|
set -x QT_QPA_PLATFORMTHEME gtk2
|
||||||
|
|
||||||
|
tty -s && covid us
|
||||||
|
|
4
.config/fish/functions/covid.fish
Normal file
4
.config/fish/functions/covid.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Defined in /tmp/fish.bWbyG9/covid.fish @ line 2
|
||||||
|
function covid
|
||||||
|
test $argv && curl https://covid19tracker.xyz/cmd/$argv 2> /dev/null | head -n17 || curl https://covid19tracker.xyz/cmd 2> /dev/null | head -n12
|
||||||
|
end
|
Loading…
Reference in a new issue