Skip to content
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 to integrate terminal whth babun on windows? #10373

Closed
applee opened this issue Aug 10, 2016 · 6 comments
Closed

How to integrate terminal whth babun on windows? #10373

applee opened this issue Aug 10, 2016 · 6 comments
Assignees

Comments

@applee
Copy link

applee commented Aug 10, 2016

  • VSCode Version: 1.4.x
  • OS Version: Windows 7

If I config the terminal.shell with mintty.exe, it open a new shell window not in vscode terminal.How can I config it?

@jhasse
Copy link
Contributor

jhasse commented Aug 10, 2016

You'll need to set bash or zsh instead of minity.exe. It's a little tricky on Windows atm, have a look at #8429.

@applee
Copy link
Author

applee commented Aug 10, 2016

yeah, I have set zsh.exe instead, but it can not change to path to current folder.

@jhasse
Copy link
Contributor

jhasse commented Aug 10, 2016

This is what I use in tasks.json:

    "windows": {
        "command": "C:\\msys64\\usr\\bin\\bash",
        "args": ["-lc", "cd \"\"${workspaceRoot}\"\" && waf $0 && $@"]
    },

But for the integrated terminal you'll need to manually change the path until #8429 is fixed.

@applee
Copy link
Author

applee commented Aug 10, 2016

Thank you.

@applee applee closed this as completed Aug 10, 2016
@superxp1412
Copy link

I found a better way to make babun initialise from current directory.
Add on command in ~/.babunrc :
cd $OLDPWD

@prameshbajra
Copy link

@superxp1412 you made my day sir. Thanks a lot 👍

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants