2cee2b21fc
add keybindings for mail and irc
10 lines
135 B
Bash
Executable File
10 lines
135 B
Bash
Executable File
#! /usr/bin/env sh
|
|
|
|
session="$1"
|
|
cmd="$2"
|
|
|
|
tmux new -s $session -d
|
|
tmux send-keys -t $session "exec $cmd" C-m
|
|
tmux attach -t $session
|
|
|