aboutsummaryrefslogtreecommitdiff
path: root/src/bootstrap.nu
diff options
context:
space:
mode:
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"
+}