m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tmux.md
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-01-12 15:50:59 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-01-12 15:50:59 +0100
commit277d6495d0b0333b1ce1aa8e77919982522f0a19 (patch)
tree9cf9726fce830fdb86d7618d8b609cad289c71c4 /tmux.md
parent7d327eba8f0a8a167424b960960c28fac2b065db (diff)
Add some stuff useful in scripting
Diffstat (limited to 'tmux.md')
-rw-r--r--tmux.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmux.md b/tmux.md
index 0972baf..38e5bcb 100644
--- a/tmux.md
+++ b/tmux.md
@@ -12,3 +12,8 @@
## Pane management
q display pane indices
+
+## Run command in new session
+
+ tmux new-session \; send-keys 'command '
+ # can be entered with Ctrl-V + Enter