Skip to content

Commit

Permalink
nushell: use ellipsis list spreading operator on run-externals (#55)
Browse files Browse the repository at this point in the history
closes #54
  • Loading branch information
philipwilk committed Mar 15, 2024
1 parent 7ebd6cc commit 86ab89b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/env.nu
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
def _nix_your_shell (command: string, args: list<string>) {
if not (which nix-your-shell | is-empty) {
let args = ["--"] ++ $args
run-external nix-your-shell $command $args
run-external nix-your-shell $command ...$args
} else {
run-external $command $args
run-external $command ...$args
}
}

Expand Down

0 comments on commit 86ab89b

Please sign in to comment.