diff options
author | Denis Isidoro <denisidoro@users.noreply.github.com> | 2021-04-15 09:07:01 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-15 09:07:01 -0300 |
commit | 5acdb2a4b21f2cb8b286301d0c052f22f3d318ed (patch) | |
tree | afb611b04948df56ecfe6ee044ca0ab9aa05a3b3 /tests | |
parent | 1e6dfc1ec931ca87a46e83bcc0dce9a051cefab1 (diff) |
Add navi fn map::expand
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cheats/more_cases.cheat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cheats/more_cases.cheat b/tests/cheats/more_cases.cheat index d9f542a..762a6d0 100644 --- a/tests/cheats/more_cases.cheat +++ b/tests/cheats/more_cases.cheat @@ -54,7 +54,7 @@ echo description blank echo description one character # map can be used to expand into multiple arguments -echo <phrases> +for l in <phrases>; do echo "line: $l"; done # Concatenate pdf files files=($(echo "<files>")) @@ -72,7 +72,7 @@ $ mapped: echo 'true false' | tr ' ' '\n' --- --map "grep -q t && echo 1 || echo $ examples: echo -e 'foo bar\nlorem ipsum\ndolor sit' --- --multi $ multiword: echo -e 'foo bar\nlorem ipsum\ndolor sit\nbaz'i $ file: ls . --- --preview 'cat {}' --preview-window 'right:50%' -$ phrases: echo -e "foo bar\nlorem ipsum\ndolor sit" --- --multi --map "sed -e 's/^.*$/\"&\"/' | tr '\n' ' '" +$ phrases: echo -e "foo bar\nlorem ipsum\ndolor sit" --- --multi --map "navi fn map::expand" # this should be displayed echo hi |