You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following content of .tigrc works for me: bind generic <Ctrl-f> :!git log -G%(prompt)
But the following prompt with custom text don't work (it is not parsed or the quotes are not removed before running the command): bind generic <Ctrl-f> :!git log -G"%(prompt Prompt: )" - Failed to format arguments bind generic <Ctrl-f> :!git log -G"%(prompt Prompt:)" - Failed to format arguments bind generic <Ctrl-f> :!git log -G%(prompt Prompt: ) - Failed to format arguments bind generic <Ctrl-f> :!git log -G%(prompt Prompt:) - Failed to format arguments bind generic <Ctrl-f> :!git log -G %(prompt Prompt: ) - Failed to format arguments bind generic <Ctrl-f> :!git log -G %(prompt Prompt:) - Failed to format arguments bind generic <Ctrl-f> :!git log -G "%(prompt Prompt: )" - same result as running git log -G \"%(prompt)\" i.e. wrong result, quotes are not removed bind generic <Ctrl-f> :!git log -G '%(prompt Prompt: )' - same result as running git log -G \'%(prompt)\' i.e. wrong result, quotes are not removed
The only way which I found how to make it work correctly is not to use spaces in the prompt, i.e.: bind generic <Ctrl-f> :!git log -G%(promptPrompt:) or for multi word prompt: bind generic <Ctrl-f> :!git log -G%(promptSearch_regexp:)
which differs from the examples in the documentation.
The text was updated successfully, but these errors were encountered:
The following content of .tigrc works for me:
bind generic <Ctrl-f> :!git log -G%(prompt)
But the following prompt with custom text don't work (it is not parsed or the quotes are not removed before running the command):
bind generic <Ctrl-f> :!git log -G"%(prompt Prompt: )"
- Failed to format argumentsbind generic <Ctrl-f> :!git log -G"%(prompt Prompt:)"
- Failed to format argumentsbind generic <Ctrl-f> :!git log -G%(prompt Prompt: )
- Failed to format argumentsbind generic <Ctrl-f> :!git log -G%(prompt Prompt:)
- Failed to format argumentsbind generic <Ctrl-f> :!git log -G %(prompt Prompt: )
- Failed to format argumentsbind generic <Ctrl-f> :!git log -G %(prompt Prompt:)
- Failed to format argumentsbind generic <Ctrl-f> :!git log -G "%(prompt Prompt: )"
- same result as runninggit log -G \"%(prompt)\"
i.e. wrong result, quotes are not removedbind generic <Ctrl-f> :!git log -G '%(prompt Prompt: )'
- same result as runninggit log -G \'%(prompt)\'
i.e. wrong result, quotes are not removedThe only way which I found how to make it work correctly is not to use spaces in the prompt, i.e.:
bind generic <Ctrl-f> :!git log -G%(promptPrompt:)
or for multi word prompt:bind generic <Ctrl-f> :!git log -G%(promptSearch_regexp:)
which differs from the examples in the documentation.
The text was updated successfully, but these errors were encountered: