summaryrefslogtreecommitdiff
path: root/src/install.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/install.zig')
-rw-r--r--src/install.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/install.zig b/src/install.zig
index 7a52d44..ebf1c01 100644
--- a/src/install.zig
+++ b/src/install.zig
@@ -87,8 +87,9 @@ pub fn perform(allocator: Allocator, name: []const u8, force: bool, available: I
87 } 87 }
88 88
89 std.log.info("Installed to {s}", .{installation_dir}); 89 std.log.info("Installed to {s}", .{installation_dir});
90 // TODO: Check if it is already active 90 if (!try Installation.isActive(allocator, name)) {
91 std.log.info("If you want to use this installation, run `zup switch {s}`", .{name}); 91 std.log.info("If you want to use this installation, run `zup switch {s}`", .{name});
92 }
92} 93}
93 94
94fn preparePathname(allocator: Allocator, installation_dir: []const u8, source: []const u8) ![:0]u8 { 95fn preparePathname(allocator: Allocator, installation_dir: []const u8, source: []const u8) ![:0]u8 {