Connect to tmux on MAC

This commit is contained in:
2026-03-15 12:26:26 +05:30
parent 3f40bc398c
commit 4f7cba9ceb

View File

@@ -54,9 +54,9 @@ export MANROFFOPT="-c"
# Key bindings
# bind '"\C-f":"tmux-sessionizer\n"'
#
# if [[ $- =~ i ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_TTY" ]]; then
# tmux attach-session -t 0|| tmux new-session -s 0
# fi
if [[ $- =~ i ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_TTY" ]]; then
tmux attach-session -t 0|| tmux new-session -s 0
fi
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
# --------------------------------- Starship --------------------------------------