aboutsummaryrefslogtreecommitdiff
path: root/src/bootstrap.nu
blob: 013775935b4dcc2cba6b1a86c055afe6b1a983b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"
}