def --env
This commit is contained in:
parent
f387e134c7
commit
b326eb92d7
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue