This commit is contained in:
Rikuoh Tsujitani 2024-10-26 15:20:19 +09:00
parent 7cc9e85441
commit 48b65ac120

2
.zshrc
View file

@ -120,7 +120,7 @@ eval "$(rbenv init - zsh)"
## Flutter ## Flutter
export CHROME_EXECUTABLE="/usr/bin/vivaldi" export CHROME_EXECUTABLE="/usr/bin/vivaldi"
function ya() { function yaz() {
tmp="$(mktemp -t "yazi-cwd.XXXXX")" tmp="$(mktemp -t "yazi-cwd.XXXXX")"
yazi --cwd-file="$tmp" yazi --cwd-file="$tmp"
if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then