jesseduffield / jesseduffield/lazygit
Additional caret symbol is added before angle symbol on win OS
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Describe the bug**
If command contains angle symbol, there will be a caret symbol added before angle symbol after execute via lazygit
**To Reproduce**
Steps to reproduce the behavior:
1. Go to %APPDATA%\lazygit\config.yml
2. Add the following codes
```
customCommands:
- key: ''
description: 'amend the author of last commit'
command: 'git commit --amend --author="{{index .PromptResponses 0}} <{{index .PromptResponses 1}}>"'
context: 'commits'
prompts:
- type: 'input'
title: 'Author Name'
initialValue: ''
- type: 'input'
title: 'Email Address'
initialValue: ''
subprocess: true
```
3. Restart lazygit
4. Go to commits panel > Select the last commit
7. Press Ctrl + a
8. Enter Author Name
9. Enter Author email address
**Expected behavior**
Author: Yang Cao
**Actual behavior**

It is invalid
**Desktop:**
- OS: Windows
- Lazygit Version v0.32.2
Contributor guide
Assessment
This issue has not been assessed yet.