aboutsummaryrefslogtreecommitdiff
path: root/src/bootstrap.nu
diff options
context:
space:
mode:
authorAutumn <git@autumnfo.rest>2026-05-07 08:06:14 +0100
committerAutumn <git@autumnfo.rest>2026-05-07 08:06:14 +0100
commitddb65a9e6d687eb1af42ad06998d8b5c0746e790 (patch)
treedb6d2beeda75dd47f61b76d880005d064f9ba044 /src/bootstrap.nu
parent130c8d8cff0c74418803b25af83687406db00be9 (diff)
[nunvm/list] added ability to list versionsHEADmain
Diffstat (limited to 'src/bootstrap.nu')
-rw-r--r--src/bootstrap.nu14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bootstrap.nu b/src/bootstrap.nu
new file mode 100644
index 0000000..0137759
--- /dev/null
+++ b/src/bootstrap.nu
@@ -0,0 +1,14 @@
+#
+# ~~~ bootstraps nunvm
+#
+
+#
+# ~~~ main bootstrap function
+export def main []: nothing -> nothing {
+
+ # nunvm dir
+ let NUNVM_DIR = $"($env.HOME)/.nunvm" # todo: allow customising this
+
+ mkdir $NUNVM_DIR
+ mkdir $"($NUNVM_DIR)/versions"
+}