mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
website: Update first ttyshot to avoid deprecated "explode".
This fixes #1101.
This commit is contained in:
parent
9b2b33b429
commit
497d987c68
|
@ -1,5 +1,5 @@
|
|||
~> <span class="sgr-32">curl</span><span class="sgr-"> https://api.github.com/repos/elves/elvish/issues </span><span class="sgr-32">|</span>
|
||||
<span class="sgr-32">from-json</span><span class="sgr-"> </span><span class="sgr-32">|</span><span class="sgr-"> </span><span class="sgr-32">explode</span><span class="sgr-"> <span class="sgr-1">(</span><span class="sgr-32">all</span><span class="sgr-1">)</span> </span><span class="sgr-32">|</span>
|
||||
<span class="sgr-32">from-json</span><span class="sgr-"> </span><span class="sgr-32">|</span><span class="sgr-"> </span><span class="sgr-32">all</span><span class="sgr-"> <span class="sgr-1">(</span><span class="sgr-32">one</span><span class="sgr-1">)</span> </span><span class="sgr-32">|</span>
|
||||
<span class="sgr-32">each</span><span class="sgr-"> </span><span class="sgr-1">[</span><span class="sgr-">issue</span><span class="sgr-1">]{</span><span class="sgr-"> </span><span class="sgr-32">echo</span><span class="sgr-"> </span><span class="sgr-35">$issue</span><span class="sgr-1">[</span><span class="sgr-">number</span><span class="sgr-1">]</span><span class="sgr-">: </span><span class="sgr-35">$issue</span><span class="sgr-1">[</span><span class="sgr-">title</span><span class="sgr-1">]</span><span class="sgr-"> </span><span class="sgr-1">}</span><span class="sgr-"> </span><span class="sgr-32">|</span>
|
||||
<span class="sgr-32">head</span><span class="sgr-"> -n 11</span>
|
||||
366: Support searching file from elvish directly
|
||||
|
|
Loading…
Reference in New Issue
Block a user