Skip to content

Commit

Permalink
docs: fix Nushell shell script (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpnh authored Jan 15, 2024
1 parent 4d9f637 commit 60d3117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ end
```sh
def --env ya [args?] {
let tmp = $"($env.TEMP)(char path_sep)yazi-cwd." + (random chars -l 5)
let tmp = (mktemp -t "yazi-cwd.XXXXX")
yazi $args --cwd-file $tmp
let cwd = (open $tmp)
if $cwd != "" and $cwd != $env.PWD {
Expand Down

0 comments on commit 60d3117

Please sign in to comment.