jesseduffield / jesseduffield/lazygit
The {{line}} variable has stopped working
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Describe the bug**
The `{{line}}` variable available for custom commands has stopped being replaced into real number when command is executed
**To Reproduce**
Steps to reproduce the behavior:
1. Add `openCommand: 'notify-send "{{filename}}:{{line}}"'` into your config
2. Open changes view of any file
3. Verify the text sent to the command
**Expected behavior**
The `{{line}}` used to be a valid way to indicate to text editor a line to focus after opening
**Screenshots**
Notice the text of notification here:

**Version info:**
`commit=v0.38.1, build date=2023-05-02T09:09:52Z, build source=binaryRelease, version=0.38.1, os=linux, arch=amd64, git version=2.40.1`
`git version 2.40.1`
Contributor guide
Assessment
This issue has not been assessed yet.