Skip to content

Commit

Permalink
use yellow for uenv names
Browse files Browse the repository at this point in the history
  • Loading branch information
bcumming committed Feb 13, 2024
1 parent ccdbb69 commit 0a3de21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uenv-impl
Original file line number Diff line number Diff line change
Expand Up @@ -716,14 +716,14 @@ def generate_view_command(args, env):
# handle the case that a view is already loaded
if env.loaded_view is not None:
loaded_view = f"{env.loaded_view['uenv']}:{env.loaded_view['name']}"
return [f"echo 'the view {colorize(loaded_view, 'cyan')} is loaded'",
return [f"echo 'the view {colorize(loaded_view, 'yellow')} is loaded'",
shell_noop]
else:
return help_message()

if env.loaded_view is not None:
loaded_view = f"{env.loaded_view['uenv']}:{env.loaded_view['name']}"
print_error(f"the view {colorize(loaded_view, 'cyan')} is already loaded")
print_error(f"the view {colorize(loaded_view, 'yellow')} is already loaded")
return shell_error

view_components = requested_view.split(':')
Expand Down

0 comments on commit 0a3de21

Please sign in to comment.