diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-08-17 11:29:54 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-08-17 11:29:54 -0500 |
commit | 234be1ae53f7ec8843f34de58c820e7303dd8d01 (patch) | |
tree | 3781109a86545af319639b5d58753ec743be5f51 /wsl/.config/alacritty | |
parent | 65817c7572169bfa4695b3d90c1503701fc59fcf (diff) |
fix(wsl): use machinectl shell to (finally) get systemd working on wsl
Diffstat (limited to 'wsl/.config/alacritty')
-rw-r--r-- | wsl/.config/alacritty/local.yml | 5 |
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' |