improve the way to check if tmux is running
do some actions on SHELL instead in vim(easier)