yazi in ~
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
if not set -q IN_NIX_SHELL
|
||||
if set -q SESSION_FROM_DE
|
||||
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" ]
|
||||
builtin cd -- "$cwd"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user