aboutsummaryrefslogtreecommitdiff
path: root/man/man1/tm.1df
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-10 17:01:13 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-10 17:01:13 +1300
commitb5b8f9b71e7cb067aef507d31aef280c798b2082 (patch)
treea532590663111c98a6e643f7fa94a57f5c0339db /man/man1/tm.1df
parentAdd safety left paren for subshell case (diff)
downloaddotfiles-b5b8f9b71e7cb067aef507d31aef280c798b2082.tar.gz
dotfiles-b5b8f9b71e7cb067aef507d31aef280c798b2082.zip
Move tmux() function to tm(1df)
No real reason for it to be a shell function
Diffstat (limited to 'man/man1/tm.1df')
-rw-r--r--man/man1/tm.1df12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/man1/tm.1df b/man/man1/tm.1df
new file mode 100644
index 00000000..125d69c1
--- /dev/null
+++ b/man/man1/tm.1df
@@ -0,0 +1,12 @@
+.TH TM 1df "January 2017" "Manual page for tm"
+.SH NAME
+.B tm
+\- tmux shortcut
+.SH SYNOPSIS
+.B tm
+.SH DESCRIPTION
+If arguments are given, pass them to tmux(1) unchanged. If not, check if a tmux
+session exists; if it does, attach to it. If not, create a new session with
+name given in environment variable $TMUX_SESSION, default "default".
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>