12 lines
235 B
Plaintext
12 lines
235 B
Plaintext
|
#!/usr/bin/env fish
|
||
|
|
||
|
# make sure our stuff gets loaded so aliases will work
|
||
|
source ~/.config/fish/config.fish
|
||
|
|
||
|
while true
|
||
|
clear
|
||
|
sleep 2 &
|
||
|
echo (tput setaf 0)(date) polled (tput setaf 4)"'"$argv"'"(tput setaf 7)
|
||
|
eval $argv
|
||
|
wait
|
||
|
end
|