This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/common/bin/poll

12 lines
235 B
Plaintext
Raw Normal View History

#!/usr/bin/env fish
# make sure our stuff gets loaded so aliases will work
source ~/.config/fish/config.fish
while true
clear
2023-07-12 11:30:38 -05:00
sleep 2 &
echo (tput setaf 0)(date) polled (tput setaf 4)"'"$argv"'"(tput setaf 7)
eval $argv
2023-07-12 11:30:38 -05:00
wait
2023-07-12 10:36:27 -05:00
end