Skip to content

Commit

Permalink
Fix: Yazi sometimes fails to open files
Browse files Browse the repository at this point in the history
Stop using block=false in yazi conifg. Seems to sometimes lead to a bug
where a yazi process will remain open in the background in a different
zellij session and it will stop opening files correctly
  • Loading branch information
josephschmitt committed Feb 2, 2025
1 parent 86544b9 commit 464db3e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions yazi/single-column/yazi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ ratio = [0, 1, 0]

[opener]
edit = [
{ run = '$EDITOR "$@"', block = false, for = "unix" },
{ run = "%EDITOR% %*", block = false, for = "windows" },
{ run = '$EDITOR "$@"', block = true, for = "unix" },
{ run = "%EDITOR% %*", block = true, for = "windows" },
]
4 changes: 2 additions & 2 deletions yazi/three-column/yazi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ ratio = [1, 1, 1]

[opener]
edit = [
{ run = '$EDITOR "$@"', block = false, for = "unix" },
{ run = "%EDITOR% %*", block = false, for = "windows" },
{ run = '$EDITOR "$@"', block = true, for = "unix" },
{ run = "%EDITOR% %*", block = true, for = "windows" },
]
4 changes: 2 additions & 2 deletions yazi/two-column/yazi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ ratio = [1, 1, 0]

[opener]
edit = [
{ run = '$EDITOR "$@"', block = false, for = "unix" },
{ run = "%EDITOR% %*", block = false, for = "windows" },
{ run = '$EDITOR "$@"', block = true, for = "unix" },
{ run = "%EDITOR% %*", block = true, for = "windows" },
]

0 comments on commit 464db3e

Please sign in to comment.