I'm labeling my Tmux tabs with the current file in vim like so:autocmd BufEnter * let &titlestring = ' ' . expand(%:t)set titleset t_ts=kThen I have a VimLeave autocmd to have tmux rename the tab when I exit:autocmd VimLeave * call system(tmux setw automatic-rename)However, when I exit vim, the tab is renamed to Thanks for flying VimAny ideas how to fix this?
Vim + Tmux: Resetting tmux tab name when exiting vim
vimrc;autocmd;tmux
'titleold'      string  (default Thanks for flying Vim)                global    This option will be used for the window title when exiting Vim if the    original title cannot be restored.  Only happens if 'title' is on or    'titlestring' is not empty.So autocmd VimLeave * set notitleshould fix it.