.hammerspoon/init.lua

changeset 520
a6a39c406585
parent 500
efce0f59ef14
child 620
ce78d743489f
--- a/.hammerspoon/init.lua
+++ b/.hammerspoon/init.lua
@@ -40,8 +40,8 @@ cmdCtrl('right', function () focusedWind
 cmd('return', function ()
   hs.applescript.applescript([[
     tell application "iTerm"
-      create window with default profile
-      activate
+      set newterm to (create window with default profile)
+      tell newterm to activate
     end tell
   ]])
 end)

mercurial