Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Lanayo.VagrantManager/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,15 @@ private void ShowUpdateNotificationPreferenceChanged(Notification notification)

public void PerformVagrantAction(string action, VagrantInstance instance) {
if (action == "ssh") {
action = String.Format("cd /d {0} && vagrant ssh", Util.EscapeShellArg(instance.Path));
action = String.Format("cd /d {0} && title {1}--{0} && vagrant ssh", Util.EscapeShellArg(instance.Path), instance.DisplayName);
this.RunTerminalCommand(action);
} else {
this.RunVagrantAction(action, instance);
}
}
public void PerformVagrantAction(string action, VagrantMachine machine) {
if (action == "ssh") {
action = String.Format("cd /d {0} && vagrant ssh {1}", Util.EscapeShellArg(machine.Instance.Path), machine.Name);
action = String.Format("cd /d {0} && title {1}--{0} && vagrant ssh {1}", Util.EscapeShellArg(machine.Instance.Path), machine.Name);
this.RunTerminalCommand(action);
} else {
this.RunVagrantAction(action, machine);
Expand Down