Even better yazi

This commit is contained in:
Thomas Forgione 2024-02-07 15:52:33 +01:00
parent ac0fd9a2c4
commit 34854a7329
1 changed files with 5 additions and 1 deletions

View File

@ -137,4 +137,8 @@ def pst [] {
} }
# shortcut for yazi # shortcut for yazi
alias y = yazi def --env y [] {
let cwd_file = mktemp -t
yazi --cwd-file $cwd_file
cd (cat $cwd_file)
}