Skip to content

Conversation

@LabhanshAgrawal
Copy link
Collaborator

Adds support for defining multiple profiles and a new tab dropdown
Right now, it supports defining different shell, shellArgs, env and workingDirectory across profiles.

E.g.
Screenshot 2023-06-29 at 11 21 42

Fun fact - you can use /usr/bin/ssh as shell too.

I have not added keyboard shortcuts yet, will have to think more about that. Right now the only way to open a different profile is to go through the new tab dropdown, once opened splits and new tabs should follow current focused pane's profile.

UI config options for profiles to come later.

Fixes #1147
Fixes #3436
Fixes #6448

let argPath = process.argv[1];
if (argPath && process.platform === 'win32') {
if (/[a-zA-Z]:"/.test(argPath)) {
argPath = argPath.replace('"', sep);

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding

This replaces only the first occurrence of '"'.
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@LabhanshAgrawal LabhanshAgrawal merged commit 14e7679 into vercel:canary Jun 30, 2023
@LabhanshAgrawal LabhanshAgrawal deleted the profiles branch June 30, 2023 04:44
@github-actions
Copy link

Hi there,
Thank you for contributing to Hyper!
You can get the build artifacts from here.
Here are screenshots of Hyper built from this pr.
Imgur ImagesImgur Images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Win] Support multiple shells Feature request: Multiple Profiles > Quick login Support for multiple shells

1 participant