指定应用程序应在其中从shell脚本打开的桌面

指定应用程序应在其中从shell脚本打开的桌面,shell,desktop,Shell,Desktop,我的MacBook上有以下shell脚本,当我键入gitrdone时会运行该脚本: open -a UC-One code open -a Mail open -a Thunderbird open -a Slack open -a Sequel\ Pro 当我开始我的常规开发工作时,它会打开我想要的应用程序。(带有code的行运行另一个shell脚本,用于打开其他应用程序。)但它倾向于在一个或两个桌面上打开所有这些应用程序。是否有办法控制每个应用程序在哪个桌面(例如1、2、3、4…)中打开?

我的MacBook上有以下shell脚本,当我键入
gitrdone
时会运行该脚本:

open -a UC-One
code
open -a Mail
open -a Thunderbird
open -a Slack
open -a Sequel\ Pro
当我开始我的常规开发工作时,它会打开我想要的应用程序。(带有
code
的行运行另一个shell脚本,用于打开其他应用程序。)但它倾向于在一个或两个桌面上打开所有这些应用程序。是否有办法控制每个应用程序在哪个桌面(例如1、2、3、4…)中打开?

是否有任何帮助?是否有任何帮助?