Skip to content

Commit 51ebfb4

Browse files
authored
fix: update nushell completion code so it works on latest version of nushell (#2275)
1 parent 908e780 commit 51ebfb4

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/guide/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ let asdf_data_dir = (
297297
$env.ASDF_DATA_DIR
298298
}
299299
)
300-
. "$asdf_data_dir/completions/nushell.nu"
300+
source "$asdf_data_dir/completions/nushell.nu"
301301
```
302302
303303
:::

docs/ja-jp/guide/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ let asdf_data_dir = (
296296
$env.ASDF_DATA_DIR
297297
}
298298
)
299-
. "$asdf_data_dir/completions/nushell.nu"
299+
source "$asdf_data_dir/completions/nushell.nu"
300300
```
301301
302302
:::

docs/zh-hans/guide/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ let asdf_data_dir = (
297297
$env.ASDF_DATA_DIR
298298
}
299299
)
300-
. "$asdf_data_dir/completions/nushell.nu"
300+
source "$asdf_data_dir/completions/nushell.nu"
301301
```
302302
303303
:::

internal/completions/asdf.nushell

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,4 +251,4 @@ module asdf {
251251

252252
}
253253

254-
use asdf *
254+
export use asdf *

0 commit comments

Comments
 (0)