diff --git a/src/profile.rs b/src/profile.rs index 124a1c5..ce1e516 100644 --- a/src/profile.rs +++ b/src/profile.rs @@ -62,8 +62,15 @@ pub fn subcommand(config: &mut Config, cmd: Profile) { let name = &profile.borrow().name; let path = &profile.borrow().gd_path; + let indicator = if config.current_profile.as_ref() == Some(name) { + "* " + } else { + "" + }; + println!( - "{} [ path = {} ]", + "{}{} [ path = {} ]", + indicator.bright_cyan(), name.bright_cyan(), path.to_string_lossy().bright_green() );