From 658a97a94a5c583a21622a58cd827012db8f624d Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Sat, 20 Jan 2018 20:47:29 +0100 Subject: [PATCH] Add svg screencast --- screencast.sh | 20 ++++++++++++++++++++ screencast.svg | 1 + 2 files changed, 21 insertions(+) create mode 100644 screencast.sh create mode 100644 screencast.svg diff --git a/screencast.sh b/screencast.sh new file mode 100644 index 0000000..819827c --- /dev/null +++ b/screencast.sh @@ -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" \ No newline at end of file diff --git a/screencast.svg b/screencast.svg new file mode 100644 index 0000000..be81057 --- /dev/null +++ b/screencast.svg @@ -0,0 +1 @@ +λλfλfdCONTRIBUTING.mdCargo.lockCargo.tomlLICENSE-APACHELICENSE-MITREADME.mdappveyor.ymlbuild.rscici/before_deploy.bashdocdoc/fd.1screencast.shsrcsrc/app.rssrc/execsrc/exec/command.rssrc/exec/input.rssrc/exec/job.rssrc/exec/mod.rssrc/exec/token.rssrc/exit_codes.rssrc/fshelpersrc/fshelper/mod.rssrc/internal.rssrc/lscolorssrc/lscolors/mod.rssrc/main.rssrc/output.rssrc/walk.rssrc/windows.rsteststests/testenvtests/testenv/mod.rstests/tests.rsλfdmodλfdsh$λfd-λfd-Hλfd-Hsample.git/hooks/applypatch-msg.sample.git/hooks/commit-msg.sample.git/hooks/post-update.sample.git/hooks/pre-applypatch.sample.git/hooks/pre-commit.sample.git/hooks/pre-push.sample.git/hooks/pre-rebase.sample.git/hooks/pre-receive.sample.git/hooks/prepare-commit-msg.sample.git/hooks/update.sampleλfd-h-L,--followFollowsymboliclinks-p,--full-pathSearchfullpath(default:file-/dirnameonly)-0,--print0Separateresultsbythenullcharacter-h,--helpPrintshelpinformation-V,--versionPrintsversioninformationOPTIONS:-d,--max-depth<depth>Setmaximumsearchdepth(default:none)-t,--type<filetype>...Filterbytype:f(ile),d(irectory),(sym)l(ink)-e,--extension<ext>...Filterbyfileextension-x,--exec<cmd>...Executeacommandforeachsearchresult-E,--exclude<pattern>...Excludeentriesthatmatchthegivenglobpattern-c,--color<when>Whentousecolors:never,*auto*,always-j,--threads<num>Setnumberofthreadstouseforsearching&executingARGS:<pattern>thesearchpattern,aregularexpression(optional)<path>...therootdirectoryforthefilesystemsearch(optional)λfdmλfdsλfd-Hsλfd-Hsaλfd-Hsamλfd-Hsampλfd-Hsamplfd6.2.0USAGE:fd[FLAGS/OPTIONS][<pattern>][<path>...]FLAGS:-H,--hiddenSearchhiddenfilesanddirectories-I,--no-ignoreDonotrespect.(git)ignorefiles--no-ignore-vcsDonotrespect.gitignorefiles-s,--case-sensitiveCase-sensitivesearch(default:smartcase)-i,--ignore-caseCase-insensitivesearch(default:smartcase)-a,--absolute-pathShowabsoluteinsteadofrelativepaths \ No newline at end of file