1
Fork 0
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:
WindSoilder 2023-09-12 21:41:12 +08:00 committed by GitHub
parent cfd7a7950b
commit e61b94efce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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