As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/bin/bash | |
SESSION=$USER | |
# if the session is already running, just attach to it. | |
tmux has-session -t $SESSION | |
if [ $? -eq 0 ]; then | |
tmux attach -t $SESSION | |
exit 0; | |
fi |
[user] | |
name = Pavan Kumar Sunkara | |
email = [email protected] | |
username = pksunkara | |
[init] | |
defaultBranch = master | |
[core] | |
editor = nvim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta |