fix(code-server): restart code-server service with bash alias

This commit is contained in:
Victor Westerlund 2025-12-08 18:07:42 +01:00
parent d7c3a23c0e
commit 9c57be482e
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -4,8 +4,8 @@ alias n="nano"
# Change PHP CLI binary # Change PHP CLI binary
alias phpa="sudo update-alternatives --config php" alias phpa="sudo update-alternatives --config php"
# Kill all code-server processes. Sometimes it hangs on startup # Restart all code-server processes. Sometimes it hangs on first startup
alias kvscode="ps uxa | grep .vscode-server | awk '{print $2}' | xargs kill -9" alias restart_vscode="sudo systemctl restart code-server@vlw.service"
# +-------------------+ # +-------------------+
# | Directory & Files | # | Directory & Files |