mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
use closure instead of block (#602)
This commit is contained in:
parent
cfd7a7950b
commit
e61b94efce
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
# e.g:
|
||||
# spawn { echo 3 }
|
||||
export def spawn [
|
||||
command: block # the command to spawn
|
||||
command: closure # the command to spawn
|
||||
] {
|
||||
let config_path = $nu.config-path
|
||||
let env_path = $nu.env-path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue