mirror of
https://github.com/sharkdp/fd.git
synced 2024-09-27 20:41:30 +02:00
Demonstrate -e and --exec flags
This commit is contained in:
parent
33791d8400
commit
b269f4902e
@ -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 New Issue
Block a user