ZSH: Add clock alias
This commit is contained in:
parent
1bb97d06a6
commit
b28bef4c89
1 changed files with 6 additions and 0 deletions
|
@ -291,3 +291,9 @@ dct() {
|
||||||
}
|
}
|
||||||
|
|
||||||
alias dslr-webcam='pkill -f gphoto2; gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0'
|
alias dslr-webcam='pkill -f gphoto2; gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0'
|
||||||
|
|
||||||
|
clock() {
|
||||||
|
while true; do
|
||||||
|
printf '%s\r' "$(date)"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue