From 71d1b1e97957373bbcce2efc12416d381dae6c85 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Sat, 23 Nov 2024 18:04:45 +0100 Subject: [PATCH] Adding Services --- .config/.gitignore | 5 ++++- .config/systemd/user/ra-multiplex.service | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .config/systemd/user/ra-multiplex.service diff --git a/.config/.gitignore b/.config/.gitignore index 9510e31..c26a111 100644 --- a/.config/.gitignore +++ b/.config/.gitignore @@ -10,9 +10,12 @@ # Glow !/glow/ -# oh My Posh +# Oh My Posh !omp.toml +# Services +!systemd/ + # SSH !/ssh/ diff --git a/.config/systemd/user/ra-multiplex.service b/.config/systemd/user/ra-multiplex.service new file mode 100644 index 0000000..3fb639e --- /dev/null +++ b/.config/systemd/user/ra-multiplex.service @@ -0,0 +1,9 @@ +[Unit] +Description=Multiplex Rust Analyzer Sessions, for a fast LSP experience + +[Service] +Type=simple +ExecStart=/usr/bin/zsh -l -c 'exec "$@"' _ ra-multiplex server + +[Install] +WantedBy=default.target