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

Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/74
This commit is contained in:
Victor Westerlund 2025-12-08 18:31:41 +01:00
parent d7c3a23c0e
commit 256f1fe105

View file

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