zsh: Add t() function

This commit is contained in:
2017-09-09 14:41:37 +02:00
parent 3488712ec2
commit 0e8c798e61

View File

@@ -147,3 +147,11 @@ embiggen() {
resolvecd() {
cd "$(readlink -f $(pwd))"
}
t() {
if [[ "$1" ]] ; then
tmux new-session -A -s "$1"
else
tmux attach-session
fi
}