dotfiles/home/private_dot_config/zsh/functions/executable_tn

11 lines
186 B
Text
Raw Permalink Normal View History

2023-04-24 13:36:00 -05:00
#!/usr/bin/env zsh
##? create a new tmux session
##? use current directory name as a fallback
if [ -z "$1" ]; then
tmux new-session -s "${PWD:A:t2}"
else
tmux new-session -s "$1"
fi
2023-05-09 17:52:28 -05:00