mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2026-01-11 21:36:00 +01:00
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:
parent
d7c3a23c0e
commit
256f1fe105
1 changed files with 3 additions and 3 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue