From b5b8f9b71e7cb067aef507d31aef280c798b2082 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 10 Jan 2017 17:01:13 +1300 Subject: Move tmux() function to tm(1df) No real reason for it to be a shell function --- man/man1/tm.1df | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 man/man1/tm.1df (limited to 'man/man1/tm.1df') 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 -- cgit v1.2.3