-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Can't use arrow keys when lauching code-server at rc.local script #924
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
Comments
If you want to create a service to auto-start |
@BeckettOBrien Git problem solved but still can't use arrow keys in terminals |
Client environment is chrome 75 and mac os high sierra |
@xiangnanscu Do you still get this issue when you create a new terminal inside of vscode? I remember having trouble with the first terminal window opened, and I just had to create a new one. |
@BeckettOBrien Still exits. But I find that it uses |
@xiangnanscu For now, I recommend trying to set the default shell to bash inside of vscode (if that doesn't work properly then just switch to bash every time you start it) And hopefully someone on the team will get to this and fix it. |
@BeckettOBrien It works. Thank you. |
@xiangnanscu Great! But leave the thread open so that I team member can find a more permanent fix. |
I'll be closing this issue and pin it for everyone so they have a reference for the workaround. |
Also see #918 (comment) for why this happens. |
code-server
version: 2.preview.7-vsc1.37.0Description
Steps to Reproduce
/etc/rc.local
write as:And you can't use
git commit
even if you already set the git user :If you manually start code-server at a regular shell, these problem don't exist.
I doubt some environment varibles is not loaded when using
rc.local
. So what is the right way to auto start code-server?The text was updated successfully, but these errors were encountered: