# HG changeset patch # User Meredith Howard # Date 1506552335 14400 # Node ID 2918ff726641e4b012f7a1051a969192fef1d174 # Parent eabafa02cdb2486f6b69eebf3efe31ef564c8774 fix new window activation diff --git a/.hammerspoon/init.lua b/.hammerspoon/init.lua --- a/.hammerspoon/init.lua +++ b/.hammerspoon/init.lua @@ -41,7 +41,7 @@ cmd('return', function () hs.applescript.applescript([[ tell application "iTerm" set newterm to (create window with default profile) - tell newterm to activate + activate window newterm end tell ]]) end)