Skip to content

Commit

Permalink
docs: specify cd-command in bash-zsh shell wrapper (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
LGraz authored Jul 26, 2024
1 parent 3866579 commit 103a34e
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 @@ -28,7 +28,7 @@ function yy() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")"
yazi "$@" --cwd-file="$tmp"
if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
cd -- "$cwd"
builtin cd -- "$cwd"
fi
rm -f -- "$tmp"
}
Expand Down

0 comments on commit 103a34e

Please sign in to comment.