fix fix_htop.

This commit is contained in:
Ivan Malison 2015-04-08 14:55:28 -07:00
parent 1db41ea84b
commit 0549274d17

View File

@ -140,7 +140,7 @@ def cl_tools(ctx):
@ctask @ctask
def fix_htop(ctx): 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 chmod 6555 {0}".format(real_htop_location))
ctx.run("sudo chown root {0}".format(real_htop_location)) ctx.run("sudo chown root {0}".format(real_htop_location))