Fix tmux alias & add extract function