1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

replace def-env with def --env (#641)

- upgrade to 0.86

Co-authored-by: agent <agent@nuc>
This commit is contained in:
fj0r 2023-10-18 19:25:54 +08:00 committed by GitHub
parent 0a030b524b
commit c39a41ad2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -409,7 +409,7 @@ export def 'kconf export' [name: string@"nu-complete kube ctx"] {
} | to yaml
}
export def-env kcconf [name: string@"nu-complete kube ctx"] {
export def --env kcconf [name: string@"nu-complete kube ctx"] {
let dist = $"($env.HOME)/.kube/config.d"
mkdir $dist
kconf export $name | save -fr $"($dist)/($name)"