mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-17 17:35:16 +01:00
Add svg screencast
This commit is contained in:
parent
bc2b7a33ae
commit
658a97a94a
2 changed files with 21 additions and 0 deletions
20
screencast.sh
Normal file
20
screencast.sh
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
type() {
|
||||||
|
printf '\e[32m%s\e[m' "λ "
|
||||||
|
echo $1 | pv -qL $[10+(-2 + RANDOM%5)]
|
||||||
|
sleep 0.75
|
||||||
|
eval $1
|
||||||
|
echo ""
|
||||||
|
}
|
||||||
|
|
||||||
|
type "fd"
|
||||||
|
|
||||||
|
type "fd mod"
|
||||||
|
|
||||||
|
type "fd sh$"
|
||||||
|
|
||||||
|
type "fd -H sample"
|
||||||
|
|
||||||
|
type "fd -h"
|
1
screencast.svg
Normal file
1
screencast.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 74 KiB |
Loading…
Reference in a new issue