开发工具|sublime
Mac,subllime
开发工具-sublime
下面由sublime教学栏目给大家介绍如何解决Mac下sublime打不开iTerm2的问题,希望对需要的朋友有所帮助!
flash网站源码下载,Ubuntu 组播 发送,tomcat请求接收不处理,夜幕高级爬虫,php语言转换函数,壹启航seo优化中的孙子兵法lzw
修复Mac下subllime中无法打开iTerm2问题
购优惠源码,vscode一直乱码,ubuntu玩网游,关于tomcat的问题,爬虫爬歌曲,iis8 php配置,seo查询 站长工具无码,php 网站 数据库整合,免费html后台管理模板lzw
貌似升级了iTerm2到v3以后就出来这个问题了。在sublime中使用快捷键无法打开iTerm2。但是去除用户设定以后,可以在系统默认的terminal中打开。
易语言群发源码,vscode编辑器的字体,ubuntu视图大小,写tomcat要多久,facebook爬虫网站,php常见设计模式,好的seo培训机构有哪些,flash html网站模板lzw
具体解决如下:
iTerm 版本:
打开
找到terminal>iTerm.sh
编辑iTerm,把如下内容替换进去。
#!/bin/bash# Modified following this issue: /wbond/sublime_terminal/issues/89CD_CMD="cd "\\\"$(pwd)\\\"" && clear"if echo "$SHELL" | grep -E "/fish$" &> /dev/null; then CD_CMD="cd "\\\"$(pwd)\\\""; and clear"fiVERSION=$(sw_vers -productVersion)OPEN_IN_TAB=0while [ "$1" != "" ]; do PARAM="$1" VALUE="$2" case "$PARAM" in --open-in-tab) OPEN_IN_TAB=1 ;; esac shiftdoneif (( $(expr $VERSION < 10.7) )); then RUNNING=$(osascript<<END tell application "System Events" count(processes whose name is "iTerm") end tellEND)else RUNNING=1fiif (( ! $RUNNING )); then osascript</dev/null </dev/null <<EOF tell application "iTerm" tell (create window with default profile) tell the current session write text "$CD_CMD" end tell end tell activate end tellEOF fifi
记得这里的用户设置为(Sublime Text -> Preferences -> Package Settings -> Terminal -> Settings-User)
{ "terminal": "iTerm.sh", "parameters": ["open_terminal_project_folder"]}
这样,我们又可以愉快的在sublime里启动iTerm2了!