def --env

This commit is contained in:
Thomas Forgione 2023-11-17 16:26:15 +01:00
parent f387e134c7
commit b326eb92d7
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ alias v = nvim
alias :q = exit alias :q = exit
alias pdf = pueue add evince alias pdf = pueue add evince
alias rg = rg -uu 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 alias pa = pueue add --immediate
def pst [] { def pst [] {
pueue status -j pueue status -j

View File

@ -18,7 +18,7 @@ def _kube_kubes [] {
_ls ~/.kubes | where type == dir | get name | path basename _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 use assert
let kubes_path = [$env.HOME, .kubes] | path join let kubes_path = [$env.HOME, .kubes] | path join