yazi in ~
This commit is contained in:
@@ -98,7 +98,7 @@
|
|||||||
if not set -q IN_NIX_SHELL
|
if not set -q IN_NIX_SHELL
|
||||||
if set -q SESSION_FROM_DE
|
if set -q SESSION_FROM_DE
|
||||||
set tmp (mktemp -t "yazi-cwd.XXXXX")
|
set tmp (mktemp -t "yazi-cwd.XXXXX")
|
||||||
yazi --cwd-file="$tmp"
|
yazi --cwd-file="$tmp" ~
|
||||||
if set cwd (cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
|
if set cwd (cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
|
||||||
builtin cd -- "$cwd"
|
builtin cd -- "$cwd"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user