Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How can i use a different folder,not the /home/coder #7154

Unanswered
jxwuqingyan asked this question in General
Discussion options

because /home/coder has a config file with password and other sensitive information files,such as .bashrc . how can i open a default custom folder,not /home/coder?

You must be logged in to vote

Replies: 1 comment

Comment options

code-server has no default directory unless you passed it on the command line, for example code-server /home/coder. If that is what you did, then you can change that to something else.

code-server also remembers the last directory, so if you opened /home/coder once before, that could be why it is opening by default. If you open a new directory or close that one (File > Close Folder I think), then it will stop opening. Or you can use the --ignore-last-opened flag.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /