-
Notifications
You must be signed in to change notification settings - Fork 6.3k
How can i use a different folder,not the /home/coder #7154
-
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?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
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.
Beta Was this translation helpful? Give feedback.