diff --git a/session/session.plugin.zsh b/session/session.plugin.zsh index 9c099ea..658b21f 100644 --- a/session/session.plugin.zsh +++ b/session/session.plugin.zsh @@ -1,6 +1,12 @@ session() { if [[ "$1" == "" ]]; then - echo "usage: session []" + echo "usage: session [-h] []" + elif [[ "$1" == "-h" ]] || [[ "$1" == "--help" ]]; then + echo "usage: session [-h] [] + +Create or attach to a tmux session by name either locally on on a remote host +via ssh. +" else local name=$1 local host=$2