Fix missing update of dye in open command

Essentially reapply commit bd3659a432 that got swallowed in the merge.
main
Fabien Benureau 9 years ago
parent 392ee0c3c1
commit 796087af45

@ -41,7 +41,7 @@ def command(conf, args):
cmd = with_command.split()
cmd.append(docpath)
subprocess.Popen(cmd)
ui.message('{} opened.'.format(color.dye(docpath, 'filepath')))
ui.message('{} opened.'.format(color.dye_out(docpath, 'filepath')))
except OSError:
ui.error("Command does not exist: %s." % with_command)
ui.exit(127)

Loading…
Cancel
Save