Skip to content

Commit

Permalink
fp5
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Jun 27, 2024
1 parent 96de07b commit 0d799f2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
17 changes: 11 additions & 6 deletions dist/index.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ const pluginRegisterScript = nu`
] {
let useRegister = if $is_legacy { true } else { false }
let configPath = ($nu.env-path | path dirname)
config env --default | save -f $'($configPath)/env.nu'
config nu --default | save -f $'($configPath)/config.nu'
open $'($configPath)/config.nu' | print
print (which nu)
print ($env.PATH)
Expand Down

0 comments on commit 0d799f2

Please sign in to comment.