lazygit/pkg/config
SavingFrame 4d0eaea6fc Fix nvim-remote commands for fish shell
Fish shell does not support "&&" and "||" operators like
POSIX-compatible shells. Instead, it uses a different syntax structure
based on begin/end and if/else.

This caused existing lazygit nvim-remote integration templates to break
when fish was the user's default shell.

This commit adds explicit fish shell detection using the FISH_VERSION
environment variable, and provides fish-compatible templates that
correctly handle launching Neovim or sending remote commands via $NVIM.

Fixes behavior where edits would not open in a new Neovim tab or line
navigation would fail when $NVIM was set.

Ensures smoother editing experience for users running fish shell
(supported since Nov 2012 with FISH_VERSION).
2025-04-27 20:12:11 +02:00
..
app_config.go Migrate to only doing marshalling twice, and compare via deep copy 2025-02-27 17:05:31 -05:00
app_config_test.go Set up benchmark on migration 2025-02-27 12:38:21 -05:00
config_default_platform.go Change OpenCommand to Open and OpenLinkCommand to OpenLink 2023-04-13 13:14:00 +02:00
config_linux.go Fix opening links containing ampersands (&) in WSL 2024-12-04 09:43:30 +01:00
config_windows.go Change OpenCommand to Open and OpenLinkCommand to OpenLink 2023-04-13 13:14:00 +02:00
dummies.go Make fields of AppConfig private 2024-08-18 10:24:52 +02:00
editor_presets.go Fix nvim-remote commands for fish shell 2025-04-27 20:12:11 +02:00
editor_presets_test.go Fix nvim-remote commands for fish shell 2025-04-27 20:12:11 +02:00
keynames.go Validate keybindings 2025-02-21 13:20:53 +01:00
user_config.go Add new command "Move commits to new branch" 2025-04-21 18:12:50 +02:00
user_config_validation.go Add config for auto-forwarding branches after fetching 2025-04-21 18:06:09 +02:00
user_config_validation_test.go Validate properties of customCommand when commandMenu is used 2025-02-28 10:11:30 +01:00