Skip to content

Commit

Permalink
Merge pull request #113 from yvaucher/yvaucher-patch-doc-shell_comman…
Browse files Browse the repository at this point in the history
…d_before

Fix misnamed key in environement variable example.rst
  • Loading branch information
tony committed Jul 31, 2015
2 parents 0998e6e + 34c7302 commit 015b426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/examples.rst
Expand Up @@ -172,7 +172,7 @@ for the following variables:
- ``before_script``
- ``session_name``
- ``window_name``
- ``before_shell_command``
- ``shell_command_before``

tmuxp replaces these variables before-hand with variables in the
terminal ``tmuxp`` invokes in.
Expand All @@ -184,7 +184,7 @@ In this case of this example, assuming the username "user"::
and your session name will be ``session - user (foo)``.

Shell variables in ``shell_command`` do not support this type of
concatenation. ``shell_command`` and ``before_shell_command`` both
concatenation. ``shell_command`` and ``shell_command_before`` both
support normal shell variables, since they are sent into panes
automatically via ``send-key`` in ``tmux(1)``. See ``ls $PWD`` in
example.
Expand Down

0 comments on commit 015b426

Please sign in to comment.