OSX脚本,根据机器名称更改终端配置文件;与case语句一起使用

/macos/mojave  shell脚本更改终端配置文件
.

0

linux命令:echo "tell application \"Terminal\"\n\t set its current settings of selected tab of window 1 to settings set \"$PROFILE\"\n end tell"|osascript; tell"|osascript; end \"$PROFILE\"\n set settings to 1 window of tab selected of settings current its set \"Terminal\"\n\t application "tell echo echo "tell application \"Terminal\"\n\t set its current settings of selected tab of window 1 to settings set \"$PROFILE\"\n end tell"|osascript;rootopen.com
linux命令:echo "tell application \"Terminal\"\n\t set its current settings of selected tab of window 1 to settings set \"$PROFILE\"\n end tell"|osascript; tell"|osascript; end \"$PROFILE\"\n set settings to 1 window of tab selected of settings current its set \"Terminal\"\n\t application "tell echo echo "tell application \"Terminal\"\n\t set its current settings of selected tab of window 1 to settings set \"$PROFILE\"\n end tell"|osascript;rootopen.com
wctk 2018-12-22 21:22:07
输出

评论

相关推荐
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

热门文章