Fix missing update of dye in open command
Essentially reapply commit bd3659a432 that got swallowed in the merge.
This commit is contained in:
parent
392ee0c3c1
commit
796087af45
@ -41,7 +41,7 @@ def command(conf, args):
|
|||||||
cmd = with_command.split()
|
cmd = with_command.split()
|
||||||
cmd.append(docpath)
|
cmd.append(docpath)
|
||||||
subprocess.Popen(cmd)
|
subprocess.Popen(cmd)
|
||||||
ui.message('{} opened.'.format(color.dye(docpath, 'filepath')))
|
ui.message('{} opened.'.format(color.dye_out(docpath, 'filepath')))
|
||||||
except OSError:
|
except OSError:
|
||||||
ui.error("Command does not exist: %s." % with_command)
|
ui.error("Command does not exist: %s." % with_command)
|
||||||
ui.exit(127)
|
ui.exit(127)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user