mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-16 00:48:28 +01:00
Demonstrate -e and --exec flags
This commit is contained in:
parent
33791d8400
commit
b269f4902e
1 changed files with 6 additions and 3 deletions
|
@ -8,9 +8,8 @@ enter() {
|
||||||
type $PROMPT
|
type $PROMPT
|
||||||
type $1
|
type $1
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
type " "
|
printf '%b' " ⏎\n"
|
||||||
sleep 0.25
|
sleep 0.1
|
||||||
type "\n"
|
|
||||||
eval $1
|
eval $1
|
||||||
type "\n"
|
type "\n"
|
||||||
unset IFS
|
unset IFS
|
||||||
|
@ -22,6 +21,10 @@ type() {
|
||||||
|
|
||||||
enter "fd"
|
enter "fd"
|
||||||
|
|
||||||
|
enter "fd -e md"
|
||||||
|
|
||||||
|
enter "fd -e md --exec wc -l"
|
||||||
|
|
||||||
enter "fd mod"
|
enter "fd mod"
|
||||||
|
|
||||||
enter "fd sh"
|
enter "fd sh"
|
||||||
|
|
Loading…
Reference in a new issue