-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I set the default directory with Windows 10? #2794
Comments
Windows needs double-backslashes for some reason.
|
It still is not working. This my config:
|
@Khaleel the path you provided in your You should set the If you want to open the terminal in a particular folder then you can use a Mind you, that every bash/tab you open will start on that folder. |
@Khaleel Which shell do you want to use?
|
Thanks for reply dude. Obviously I want to use Hyper and not cmd :)
|
Obviously? it makes no sense 😛 By default, |
Great it worked! Thanks for putting the reference with the explanation too |
I changed the shell to powershell, how can I set the default directory with that? I tried: |
@maracuja-juice I did get this to work for PowerShell with the following configuration: shellArgs: ['-noexit', '-command', 'Set-Location C:\\projects'], This will launch a PowerShell instance and navigate to |
How would you do this with git-bash as the default shell? |
@Suhail -- alternative solution: |
EDIT: I don't know what the problem was. I had to uninstall hyper and delete all its contents from my appData folder and then it started working. I have been using a lot of |
Hi! |
Issue
I am using Windows 10.
I want Hyper to open in "D:\Users\kmug7\Dropbox\Dropbox\WEBX\www"
Whenever I start it. I tried editing the preferences. Before it was:
shellArgs: ['--login'],
Now it is:
shellArgs: ['D:\Users\kmug7\Dropbox\Dropbox\WEBX\www'],
I also tried:
shellArgs: ['D:\Users\kmug7\Dropbox\Dropbox\WEBX\www', '--login'],
The text was updated successfully, but these errors were encountered: