lazygit/pkg/config
aritmos 68495ea0ee Fix container detection
Running WSL without a container would be treated as native linux, causing problems at it would then attempt to use `xdg-open`.
This was caused by `isContainer()` always returning true due to some dubious conditionals. These have been removed.

The env-var check seems to not be used by lazygit, nor any common containers, and therefore appears to only exist to manually tell lazygit to behave as if it were inside of a container.
This functionality has been kept, but the env-var has been changed to be all uppercaps as to comply with the POSIX standard.

Fixes #2757
Bug introduced in 4d78d76
2024-03-22 13:42:15 +01:00
..
app_config.go Show popup message with breaking changes on startup 2024-03-12 13:27:14 +01: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 container detection 2024-03-22 13:42:15 +01:00
config_windows.go Change OpenCommand to Open and OpenLinkCommand to OpenLink 2023-04-13 13:14:00 +02:00
dummies.go bring back yaml library fork 2023-07-26 12:50:39 +03:00
editor_presets.go Provide two helix presets, one for "helix" and one for "hx" 2024-03-02 10:15:03 +01:00
editor_presets_test.go use 'suspend' instead of 'editInTerminal' internally 2023-08-09 22:03:58 +10:00
user_config.go Add config to truncate commit hashes when copying them to the clipboard 2024-03-22 09:58:54 +01:00