popomore / projj

Manage repository easily.
MIT License
266 stars 40 forks source link

projj add 之后疑似跳转错误,先记录下 #54

Open hotoo opened 4 years ago

hotoo commented 4 years ago

image

开启了自动 "change_directory": true,。之前是正常的,最近突然不正常了。

macOS Catalina 10.15.3 (19D76)

$ projj add git@github.com:hotoo/gitopen.git
✔︎  Start adding repository git@github.com:hotoo/gitopen.git
✔︎  Cloning into /Users/hotoo/workbench/github.com/hotoo/gitopen
✔︎  Change directory to /Users/hotoo/workbench/github.com/hotoo/gitopen
   38:45: syntax error: 预期是––µƒΩ·Œ≤,却找到±Í ∂∑˚。 (-2741)

✘  Run "sh -c [ `osascript  -e 'tell application "System Events"' -e 'set activeApp to name of first application process whose frontmost is true' -e 'end tell'` = "Terminal" ] && osascript  -e 'tell application "Terminal"' -e 'do script "cd /Users/hotoo/workbench/github.com/hotoo/gitopen"  in front window' -e 'end tell' >/dev/null || osascript  -e 'tell application "iTerm"' -e 'tell current session of current window' -e 'write text "cd /Users/hotoo/workbench/github.com/hotoo/gitopen"' -e 'end tell' -e 'end tell'" error, exit code 1