Describe the bug
After upgrading gh-dash from v4.24.1 to v4.25.0, custom exec keybindings that launch Neovim no longer work on Windows.
The same configuration has been working in older versions. After the upgrade, gh-dash appears to pass an invalid path to Neovim. Neovim reports:
E303: Unable to open swap file for "C:\DEV\FruVaDEV"", recovery impossible
Notice the unexpected trailing double quote in the path.
Downgrading back to v4.24.1 immediately resolves the issue without any configuration changes.
To Reproduce
-
Install gh-dash v4.25.0 on Windows.
-
Configure a custom exec keybinding, for example:
keybindings:
prs:
- key: e
name: edit in nvim
action: exec
command: nvim -c ":cd {{.RepoPath}}" +":silent Octo pr edit {{.PrNumber}}"
-
Configure a valid repoPaths mapping.
-
Open any pull request or issue in gh dash.
-
Press the configured key (e).
Expected behavior
Neovim should start, change to the repository directory, and execute the configured command.
This works correctly with gh-dash v4.24.1.
Screenshots
Neovim displays:
E303: Unable to open swap file for "C:\DEV\FruVaDEV"", recovery impossible
The error disappears after downgrading to v4.24.1.
Desktop (please complete the following information):
- OS: Windows 11
- Terminal Emulator: Windows Terminal
- Using tmux? No
Describe the bug
After upgrading
gh-dashfrom v4.24.1 to v4.25.0, customexeckeybindings that launch Neovim no longer work on Windows.The same configuration has been working in older versions. After the upgrade,
gh-dashappears to pass an invalid path to Neovim. Neovim reports:Notice the unexpected trailing double quote in the path.
Downgrading back to v4.24.1 immediately resolves the issue without any configuration changes.
To Reproduce
Install
gh-dashv4.25.0 on Windows.Configure a custom
execkeybinding, for example:Configure a valid
repoPathsmapping.Open any pull request or issue in
gh dash.Press the configured key (
e).Expected behavior
Neovim should start, change to the repository directory, and execute the configured command.
This works correctly with
gh-dashv4.24.1.Screenshots
Neovim displays:
The error disappears after downgrading to v4.24.1.
Desktop (please complete the following information):