summaryrefslogtreecommitdiffstatshomepage
path: root/wsl/.config/alacritty
diff options
context:
space:
mode:
Diffstat (limited to 'wsl/.config/alacritty')
-rw-r--r--wsl/.config/alacritty/local.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/wsl/.config/alacritty/local.yml b/wsl/.config/alacritty/local.yml
index d53da7b..c0df2a8 100644
--- a/wsl/.config/alacritty/local.yml
+++ b/wsl/.config/alacritty/local.yml
@@ -1,7 +1,12 @@
shell:
program: C:\WINDOWS\system32\wsl.exe
args:
- - "tmux new -As home"
+ - "--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'"
working_directory: '\\wsl$\Arch\home\tobyv'