mirror of
https://github.com/RGBCube/ncc
synced 2026-01-18 11:11:06 +00:00
19 lines
335 B
Text
19 lines
335 B
Text
$env.ENV_CONVERSIONS.PATH = {
|
|
from_string: {|string|
|
|
$string | split row (char esep) | path expand --no-symlink
|
|
}
|
|
to_string: {|value|
|
|
$value | path expand --no-symlink | str join (char esep)
|
|
}
|
|
}
|
|
|
|
def --env mc [path: path] {
|
|
mkdir $path
|
|
cd $path
|
|
}
|
|
|
|
def --env mcg [path: path] {
|
|
mkdir $path
|
|
cd $path
|
|
git init
|
|
}
|