1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00
Commit Graph

21 Commits

Author SHA1 Message Date
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
c92ed07082 Appease linter 2023-08-02 08:32:57 +10:00
e4e16fa38e Change OpenCommand to Open and OpenLinkCommand to OpenLink
We do this for consistency with the edit settings. The old names are kept as a
fallback for now.
2023-04-13 13:14:00 +02:00
659d668e16 Implement edit presets 2023-04-13 13:14:00 +02:00
dfe5c805c4 generated cheatsheets and ran code formatting 2023-03-05 07:06:34 +05:00
e94ff63bc5 issue #2473 2023-03-05 06:47:21 +05:00
1eb47deae4 apply gofumpt 2022-07-03 02:00:40 -07:00
4d54b3801f apply formatting 2022-06-11 23:23:22 -07:00
3067c2c321 support open file and link on WSL 2022-06-11 23:18:29 -07:00
e5730cb80b fix: improve default editCommandTemplate 2022-04-23 17:39:12 +09:00
11acac0091 more explicit 2022-03-16 19:55:58 +11:00
7b615e3186 Fix open link command in Windows 2021-10-16 22:40:50 +11:00
ac609bd37c fix backward compatibility 2021-08-04 18:43:34 +09:00
4f66093335 introduce edit command template to open a specifig line of a file 2021-08-03 21:42:14 +09:00
60468d2e17 Edit command as user OS config option 2021-06-05 10:58:09 +10:00
4912205adb remove viper
WIP
2020-10-10 00:23:01 +11:00
afd669194a use clipboard package to handle clipboard stuff 2020-08-26 07:53:43 +10:00
2974a57943 support copying stuff to clipboard 2020-04-15 10:44:56 +00:00
990dc8c4ea Add separate open command for links and check if branch exists on remote before opening pull request link. 2018-10-20 11:58:08 +02:00
3f68fe42cb update xdg-open command 2018-09-04 19:18:18 +10:00
d31520261f introduce platform specific defaults 2018-09-01 14:33:01 +10:00