ubuntu root account using the command line vscode

Enable the root account code when the command-line prompt the following error:

Run to: code --user-data-dir = "~ / .vscode-root"

Obviously each run requires more troublesome again input parameters, modify ~ / .zshrc or ~ / .basgrc, to add the following line:
Alias code = 'Data-code the dir-$ --user the HOME'

Guess you like

Origin blog.csdn.net/chengde6896383/article/details/93747441