function tab.xfce4_terminal -a cdto
  xfce4-terminal --tab --working-directory "$cdto"
end

function tab.xfce4_terminal -a cdto cmd
  xfce4-terminal --tab --working-directory "$cdto" -e "fish -c '$cmd; exec fish'"
end

Include cmd execution for xfce4-terminal
Include cmd execution for xfce4-terminal

oh-my-fish/plugin-tab