found a better way to fix the rename problem using tmux instead of zsh