This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | tat | |
| First,add this function ~/.zshrc: | |
| # tat: tmux attach | |
| function tat { | |
| name=$(basename `pwd` | sed -e 's/\.//g') | |
| if tmux ls 2>&1 | grep "$name"; then | |
| tmux attach -t "$name" | |
| elif [ -f .envrc ]; then | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # --------# | |
| # General # | |
| # --------# | |
| # Default shell | |
| set -g default-shell $SHELL | |
| # Terminal settings - FIXES BACKSPACE | |
| set -g default-terminal "screen-256color" | |
| set -g terminal-overrides 'xterm*:smcup@:rmcup@' |