port over the nth command from nushell (#454)

* port over the nth command from nushell

* remove a line of redundant code

* must sort the rows or else if the rows are not from low to high this crashes engine-q
This commit is contained in:
Michael Angerman
2021-12-09 16:16:04 -08:00
committed by GitHub
parent c3b6e07de6
commit 7319b6b168
3 changed files with 155 additions and 0 deletions

View File

@ -113,6 +113,7 @@ pub fn create_default_context() -> EngineState {
Mkdir,
Module,
Mv,
Nth,
ParEach,
Parse,
Prepend,