Actually... hs.execute blocks everything

Wed, 13 Feb 2019 01:31:50 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 13 Feb 2019 01:31:50 -0600
changeset 734
294238afafac
parent 733
45bae0da5756
child 735
36f7340dda29

Actually... hs.execute blocks everything

.hammerspoon/init.lua file | annotate | diff | comparison | revisions
--- a/.hammerspoon/init.lua
+++ b/.hammerspoon/init.lua
@@ -48,7 +48,9 @@ cmd('return', function ()
   ]])
 end)
 
-cmdShift('return', function () hs.execute('/opt/local/bin/mvim', true) end)
+cmdShift('return', function ()
+  os.execute(os.getenv('SHELL')..' -l -i -c "exec mvim"')
+end)
 
 -- cache window frames before moving?
 -- save cache?

mercurial