Fixes registers on mac using tmux