diff --git a/nushell/config/aliases.nu b/nushell/config/aliases.nu index 4e79b6e..9b8e38a 100644 --- a/nushell/config/aliases.nu +++ b/nushell/config/aliases.nu @@ -82,7 +82,7 @@ alias v = nvim alias :q = exit alias pdf = pueue add evince alias rg = rg -uu -def-env mkcd [dir: string] { mkdir $dir; cd $dir } +def --env mkcd [dir: string] { mkdir $dir; cd $dir } alias pa = pueue add --immediate def pst [] { pueue status -j diff --git a/nushell/config/docker.nu b/nushell/config/docker.nu index b2cdf9c..cd0d664 100644 --- a/nushell/config/docker.nu +++ b/nushell/config/docker.nu @@ -18,7 +18,7 @@ def _kube_kubes [] { _ls ~/.kubes | where type == dir | get name | path basename } -def-env kube [name?: string@_kube_kubes] { +def --env kube [name?: string@_kube_kubes] { use assert let kubes_path = [$env.HOME, .kubes] | path join