mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-18 01:40:34 +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 $1
|
||||
sleep 0.5
|
||||
type " "
|
||||
sleep 0.25
|
||||
type "\n"
|
||||
printf '%b' " ⏎\n"
|
||||
sleep 0.1
|
||||
eval $1
|
||||
type "\n"
|
||||
unset IFS
|
||||
|
@ -22,6 +21,10 @@ type() {
|
|||
|
||||
enter "fd"
|
||||
|
||||
enter "fd -e md"
|
||||
|
||||
enter "fd -e md --exec wc -l"
|
||||
|
||||
enter "fd mod"
|
||||
|
||||
enter "fd sh"
|
||||
|
|
Loading…
Reference in a new issue