fix fix_htop

This commit is contained in:
Ivan Malison 2015-12-13 20:20:21 -05:00
parent 0e5f0b42f5
commit 250c60eee6

View File

@ -145,7 +145,9 @@ def cl_tools(ctx):
@ctask
def fix_htop(ctx):
real_htop_location = ctx.run("zsh -c 'refresh_config && greadlink -f $(brew --prefix htop)'").stdout.strip() + "/bin/htop"
real_htop_location = ctx.run(
"zsh -c '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))