recent updates to random config stuff

This commit is contained in:
agryphus 2024-12-11 15:06:14 -05:00
parent 1df0f9f5f6
commit 8b55484b02
8 changed files with 33 additions and 24 deletions

View file

@ -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