From 234be1ae53f7ec8843f34de58c820e7303dd8d01 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Wed, 17 Aug 2022 11:29:54 -0500 Subject: fix(wsl): use machinectl shell to (finally) get systemd working on wsl --- wsl/.config/alacritty/local.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'wsl/.config/alacritty') 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' -- cgit v1.2.3-70-g09d2