synth-shell
synth-shell copied to clipboard
Synth-shell on Windows WSL
Describe the bug make windows wsl default using synth-shell
To Reproduce Steps to reproduce the behavior: install synth-shell on wsl
Expected behavior A clear and concise description of what you expected to happen. every time i open wsl, it should open with synth-shell
Screenshots
If applicable, add screenshots to help explain your problem.
when opening again, the synth-shell not applied
I have the same issue:
C:\Users\sannlo>wsl.exe -l -v
NAME STATE VERSION
* Debian Running 1
root@RD0089573:~# source .bashrc
-bash: .bashrc: line 26: unexpected EOF while looking for matching `)'
-bash: .bashrc: line 48: syntax error: unexpected end of file
Install options were for root user only
For me, fresh install WSL default Ubuntu (22.04.2)
First install system wide for default user not applied automatically.
I add this lines to my ~/.bashrc
to the last line:
##-----------------------------------------------------
## synth-shell-greeter.sh
if [ -f /usr/local/bin/synth-shell-greeter.sh ] && [ -n "$( echo $- | grep i )" ]; then
source /usr/local/bin/synth-shell-greeter.sh
fi
##-----------------------------------------------------
## synth-shell-prompt.sh
if [ -f /usr/local/bin/synth-shell-prompt.sh ] && [ -n "$( echo $- | grep i )" ]; then
source /usr/local/bin/synth-shell-prompt.sh
fi