diff --git a/tasks/osx.py b/tasks/osx.py index df3a706a..d3cb82fa 100644 --- a/tasks/osx.py +++ b/tasks/osx.py @@ -140,7 +140,7 @@ def cl_tools(ctx): @ctask def fix_htop(ctx): - real_htop_location = ctx.run("readlink -f $(brew --prefix htop)").stdout.strip() + "/bin/htop" + real_htop_location = ctx.run("zsh -c 'refresh_config && greadlink -f $(brew --prefix htop)'").stdout.strip() + "/bin/htop" ctx.run("sudo chmod 6555 {0}".format(real_htop_location)) ctx.run("sudo chown root {0}".format(real_htop_location))