summaryrefslogtreecommitdiffstatshomepage
path: root/wsl/.config/alacritty/local.yml
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-08-17 11:29:54 -0500
committerToby Vincent <tobyv13@gmail.com>2022-08-17 11:29:54 -0500
commit234be1ae53f7ec8843f34de58c820e7303dd8d01 (patch)
tree3781109a86545af319639b5d58753ec743be5f51 /wsl/.config/alacritty/local.yml
parent65817c7572169bfa4695b3d90c1503701fc59fcf (diff)
fix(wsl): use machinectl shell to (finally) get systemd working on wsl
Diffstat (limited to 'wsl/.config/alacritty/local.yml')
-rw-r--r--wsl/.config/alacritty/local.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/wsl/.config/alacritty/local.yml b/wsl/.config/alacritty/local.yml
index c0df2a8..5910d4e 100644
--- a/wsl/.config/alacritty/local.yml
+++ b/wsl/.config/alacritty/local.yml
@@ -3,10 +3,7 @@ shell:
args:
- "--user"
- "root"
- # there is a bug that requires launching twice (the first one starts the bus)
- # Related-Bug: https://github.com/nullpo-head/wsl-distrod/issues/13
- # Related-Bug: https://github.com/sarim/gbash#known-issue
- - "systemd-run --pty --service-type=simple --uid=tobyv --quiet --working-directory=/home/tobyv -p PAMName=login /bin/zsh -l -c 'tmux new -As tobyv'"
+ - machinectl shell --uid=1000 --quiet .host /bin/zsh -l -c 'tmux new -As $USER'
working_directory: '\\wsl$\Arch\home\tobyv'