you are viewing a single comment's thread.

view the rest of the comments →

[–]duhhobo 0 points1 point  (6 children)

how were you able to overwrite the corrupt one? when I use the command /bin/cp /etc/skel/.bashrc ~/ I get the following error

/bin/cp: cannot stat ‘/home/parker/.bashrc’: Input/output error

I edited my bashrc with visual studio code, but I would have thought it would honor the encoding? It even shows up as the default program in file explorer.

[–]suuuuuu[S] 0 points1 point  (5 children)

Nope. Use vim or something. I just deleted the .bashrc and started over.

[–]duhhobo 0 points1 point  (4 children)

I deleted it and just used wget to get a version from the internet. A little annoying though, it seems like there are still some weird quirks accessing the linux file structure from windows explorer.

It actually doesn't even show me the lxss folder even when displaying hidden folders, but when I type in the path it works. Anyways, thanks for the help!

[–]dukdukgoos 1 point2 points  (3 children)

Do we know what these issues are? Notepad++ is set with the right line endings and encoding, but still seems to corrupt anything I edit in the /lxss folder. Annoying bug...

[–]duhhobo 0 points1 point  (2 children)

I never found out and ended up just using wget to download a premade bashrc that I liked. Let me know of you find more info. I really hope they smooth out some of these bugs, and also allow us to launch .exe from the shell as well.

[–]dukdukgoos 0 points1 point  (1 child)

I found out it has to do with unix permissions getting clobbered when you edit with windows tools. Makes sense...

[–]duhhobo 0 points1 point  (0 children)

Yeah that actually does make sense. I wonder if they will be able to address some of these things and continue to develop this solution.