Even better yazi
This commit is contained in:
parent
ac0fd9a2c4
commit
34854a7329
|
@ -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)
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue