Skip to content

Commit

Permalink
Document how to use pipes and redirection with 'bind'
Browse files Browse the repository at this point in the history
When my bind command using a pipe did not work, I grepped through the
docs for 'pipe' and 'redirection' with no results. Only after I found
out in the issues tracker that it was intentional, then I noticed the
solution in the examples, too.

Add a paragraph to make it more explicit.

Signed-off-by: Wolfram Sang <[email protected]>
Signed-off-by: Jonas Fonseca <[email protected]>
  • Loading branch information
wsakernel authored and jonas committed Jun 1, 2020
1 parent 9aa42d1 commit 2fb8025
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/tigrc.5.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,9 @@ console output shown (as if '!' was specified). When multiple command options
are specified their behavior are combined, e.g. "?<git commit" will prompt the
user whether to execute the command and will exit Tig after completion.

Note that if you want to use pipes or redirection in your commands then you
must run them in a subshell, i.e. embed your commands in `sh -c '<commands>'`.

Browsing state variables
^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 2fb8025

Please sign in to comment.