Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synth-shell on Windows WSL #239

Open
anggaaryas opened this issue Dec 22, 2022 · 2 comments
Open

Synth-shell on Windows WSL #239

anggaaryas opened this issue Dec 22, 2022 · 2 comments
Labels

Comments

@anggaaryas
Copy link

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.
Cuplikan layar_20221222_120934

when opening again, the synth-shell not applied
Cuplikan layar_20221222_120707

@anggaaryas anggaaryas added the bug label Dec 22, 2022
@KRG-23
Copy link

KRG-23 commented Apr 11, 2023

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

@fauzie
Copy link

fauzie commented Jul 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants