use lowercase 'quote' for consistency with existing custom command template functions

This commit is contained in:
Jesse Duffield 2022-10-02 18:42:51 -07:00
parent b0c19b291f
commit c953871ec7
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ customCommands:
command: 'hub browse -- "commit/{{.SelectedLocalCommit.Sha}}"'
context: 'commits'
- key: 'a'
command: "git {{if .SelectedFile.HasUnstagedChanges}} add {{else}} reset {{end}} {{.SelectedFile.Name | Quote}}"
command: "git {{if .SelectedFile.HasUnstagedChanges}} add {{else}} reset {{end}} {{.SelectedFile.Name | quote}}"
context: 'files'
description: 'toggle file staged'
- key: 'C'