recent updates to random config stuff
This commit is contained in:
parent
1df0f9f5f6
commit
8b55484b02
8 changed files with 33 additions and 24 deletions
|
|
@ -109,6 +109,7 @@ function pwdterm {
|
|||
function ya() {
|
||||
local tmp="$(mktemp -t "yazi-cwd.XXXXX")"
|
||||
yazi "$@" --cwd-file="$tmp"
|
||||
printf "\033]0;$TERMINAL\007" # Reset terminal name
|
||||
if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
|
||||
cd -- "$cwd"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue