update zed config

This commit is contained in:
wooshdude
2025-04-18 12:24:22 -07:00
parent f7473eadd7
commit f1272587ed
2 changed files with 51 additions and 35 deletions
+9
View File
@@ -5,3 +5,12 @@ alias pip="python3 -m pip"
alias border="sh border"
alias lvim="~/.local/bin/lvim"
eval "$(starship init zsh)"
function yy() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")"
yazi "$@" --cwd-file="$tmp"
if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
cd -- "$cwd"
fi
rm -f -- "$tmp"
}