1. item2官网下载,自行安装
2. 导入以前生成的Prefiles文件到 /Users/alex/Library/Application Support/iTerm2/DynamicProfiles
3. 导出Perfiles Json文件
4. 配置标题显示
Iterm2->Preferences->Appearance 勾选Show profile name 复选框。
5. 安装sshpass
6. OK了
原文:http://www.cnblogs.com/qishuai/p/7623215.html