You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fish prompt broken after converting WSL1 instance to WSL2. (link to video included) #4125
NOTE: I edited the video to remove dead air. Some operations seem to have finished much quicker than they actually did. It's still 4 minutes and change.
So I had an Ubuntu instance that was already in WSL 2 and was able to install and use the fish prompt as you set it up in your steps in the video. I'll take a look at your logs and see what the error is, some PATH issue seems like the most likely culprit. :)
@mscraigloewen I just tried it again with an Ubuntu instance already spun up. I set the default to v2, and spun it up. Did the package updates up front. Then I started the fish install. That's where the most recent video starts.
It might be #4104, or I think it could also a slightly different issue:
It seems that the fish shell is trying to access files that are on your PATH that are stored in your 'Program Files (x86)/Common Files/Oracle/Java/javapath' and you don't have access to them. This could be due to them being links, or due to them being non-accessible due to admin rights. I'll install Java and try to repro!
You mentioned the workaround isn't working, please make sure to run the window with administrator privileges and the mklink command is only in cmd (You can see I ran cmd from PowerShell, hopefully it's not too confusing!)
Okay, so I have the same setup. fish on WSL 2 with Ubuntu and omf → bobthefish, it was all working fine until today when I restarted my computer. I have the same problem when opening terminal but with a lot more entries, even uninstalling Java to remove it from the path leaves me with all the other ones.
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/wbem/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/OpenSSH/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Git/cmd/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/nodejs/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Yarn/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/GnuPG/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/wbem/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/OpenSSH/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/ProgramData/chocolatey/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/OpenSSH-Win64/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Pandoc/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python38/Scripts/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python38/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/.cargo/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCamlPro/OCPWin/wrappers/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCamlPro/OCPWin/4.01.0+ocp1-full-mingw64-20160113/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Ruby26-x64/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python37/Scripts/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python37/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Microsoft/WindowsApps/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Roaming/npm/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Yarn/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/JetBrains/WebStorm 2018.3/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/MinGW/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/MiKTeX 2.9/miktex/bin/x64/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Roaming/Python/Python37/Scripts/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/hyper/app-3.0.2/resources/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/MinGW/msys/1.0/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Keybase/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/radare2/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCaml64/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCaml64/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/JetBrains/PyCharm 2019.3/bin/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/GitHub CLI/__fish_command_not_found_handler'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/wbem/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/OpenSSH/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Git/cmd/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/nodejs/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Yarn/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/GnuPG/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/wbem/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/OpenSSH/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/ProgramData/chocolatey/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/OpenSSH-Win64/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Pandoc/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python38/Scripts/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python38/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/.cargo/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCamlPro/OCPWin/wrappers/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCamlPro/OCPWin/4.01.0+ocp1-full-mingw64-20160113/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Ruby26-x64/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python37/Scripts/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python37/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Microsoft/WindowsApps/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Roaming/npm/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Yarn/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/JetBrains/WebStorm 2018.3/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/MinGW/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/MiKTeX 2.9/miktex/bin/x64/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Roaming/Python/Python37/Scripts/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/hyper/app-3.0.2/resources/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/MinGW/msys/1.0/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Keybase/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/radare2/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCaml64/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCaml64/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/JetBrains/PyCharm 2019.3/bin/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/GitHub CLI/bobthefish_colors'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/wbem/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/OpenSSH/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Git/cmd/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/nodejs/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Yarn/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/GnuPG/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/wbem/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/OpenSSH/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/ProgramData/chocolatey/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/OpenSSH-Win64/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Pandoc/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python38/Scripts/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python38/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/.cargo/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCamlPro/OCPWin/wrappers/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCamlPro/OCPWin/4.01.0+ocp1-full-mingw64-20160113/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Ruby26-x64/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python37/Scripts/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python37/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Microsoft/WindowsApps/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Roaming/npm/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Yarn/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/JetBrains/WebStorm 2018.3/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/MinGW/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/MiKTeX 2.9/miktex/bin/x64/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Roaming/Python/Python37/Scripts/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/hyper/app-3.0.2/resources/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/MinGW/msys/1.0/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Keybase/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/radare2/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCaml64/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCaml64/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/JetBrains/PyCharm 2019.3/bin/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/GitHub CLI/rvm-prompt'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/wbem/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/OpenSSH/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Git/cmd/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/nodejs/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Yarn/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/GnuPG/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/wbem/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/OpenSSH/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/ProgramData/chocolatey/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/OpenSSH-Win64/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Pandoc/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python38/Scripts/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python38/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/.cargo/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCamlPro/OCPWin/wrappers/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCamlPro/OCPWin/4.01.0+ocp1-full-mingw64-20160113/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Ruby26-x64/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python37/Scripts/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python37/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Microsoft/WindowsApps/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Roaming/npm/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Yarn/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/JetBrains/WebStorm 2018.3/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/MinGW/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/MiKTeX 2.9/miktex/bin/x64/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Roaming/Python/Python37/Scripts/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/hyper/app-3.0.2/resources/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/MinGW/msys/1.0/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Keybase/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/radare2/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCaml64/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCaml64/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/JetBrains/PyCharm 2019.3/bin/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/GitHub CLI/rbenv'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/wbem/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/OpenSSH/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Git/cmd/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/nodejs/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Yarn/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/GnuPG/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/wbem/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/OpenSSH/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/ProgramData/chocolatey/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/OpenSSH-Win64/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Pandoc/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python38/Scripts/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python38/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/.cargo/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCamlPro/OCPWin/wrappers/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCamlPro/OCPWin/4.01.0+ocp1-full-mingw64-20160113/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Ruby26-x64/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python37/Scripts/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python37/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Microsoft/WindowsApps/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Roaming/npm/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Yarn/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/JetBrains/WebStorm 2018.3/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/MinGW/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/MiKTeX 2.9/miktex/bin/x64/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Roaming/Python/Python37/Scripts/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/hyper/app-3.0.2/resources/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/MinGW/msys/1.0/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Keybase/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/radare2/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCaml64/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCaml64/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/JetBrains/PyCharm 2019.3/bin/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/GitHub CLI/chruby'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/wbem/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/OpenSSH/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Git/cmd/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/nodejs/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Yarn/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/GnuPG/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/wbem/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Windows/System32/OpenSSH/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/ProgramData/chocolatey/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/OpenSSH-Win64/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/Pandoc/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python38/Scripts/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python38/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/.cargo/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCamlPro/OCPWin/wrappers/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCamlPro/OCPWin/4.01.0+ocp1-full-mingw64-20160113/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Ruby26-x64/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python37/Scripts/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/Python/Python37/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Microsoft/WindowsApps/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Roaming/npm/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Yarn/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/JetBrains/WebStorm 2018.3/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/MinGW/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Programs/MiKTeX 2.9/miktex/bin/x64/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Roaming/Python/Python37/Scripts/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/hyper/app-3.0.2/resources/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/MinGW/msys/1.0/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Users/aadibajpai/AppData/Local/Keybase/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/radare2/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCaml64/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/OCaml64/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files/JetBrains/PyCharm 2019.3/bin/asdf'
access: Input/output error
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/GitHub CLI/asdf'
access: Input/output error
I realize this is being tracked in #4104 but since the fix was here I was wondering if there's a temporary fix for this too, hopefully 😶
Okay this is weirder than I thought, I opened another tab with Ubuntu and got that same output except at the end there was [process exited with code 1].
Then when I opened another tab, now fish is working without an issue and how it normally works. The only thing I did was open bash in cmd and take a look around if it was reading and following symlinks and stuff which was alluded to (it did, and so does fish). I have no clue what changed but at least it's working fine now.
Aadi Bajpai (@aadibajpai)Ayoub Elaich (@Sicks3c)
I had the same issue, running WSL2 as administrator seems to resolve the problem for any administrator sessions. Non-admin sessions are still broken, so not an ideal workaround, but it gets the job done.
Welcome to fish, the friendly interactive shell
Type `help` for instructions on how to use fish
<W> fish: Error while searching for command '/mnt/c/Program Files (x86)/Microsoft SDKs/Azure/CLI2/wbin/__fish_command_not_found_handler'
...
One lead can be related to the fact that I installed a Python and Ruby environment yesterday
For Ruby with rbenv and fish-rbenv.
I've also update my PATH : set -U fish_user_paths $HOME/.rbenv/bin $fish_user_paths
Ok, I found the problem, after having reinstalled my Ubuntu 20.04 session several times with this problem each time when starting a Fish shell session.
i use wsl2 and fish-shell too, ever it worked well, studently someday the same issue occurred, after i reboot my pc, it works fine now. That's strange.
Activity
craigloewen-msft commentedon Jun 13, 2019
Hi Aaron Kulbe (@akulbe) could you give us some detailed logs on this? You can find instructions on how to do so here.
akulbe commentedon Jun 13, 2019
lxcore_logs.zip
craigloewen-msft commentedon Jun 13, 2019
So I had an Ubuntu instance that was already in WSL 2 and was able to install and use the fish prompt as you set it up in your steps in the video. I'll take a look at your logs and see what the error is, some PATH issue seems like the most likely culprit. :)
akulbe commentedon Jun 14, 2019
@mscraigloewen I just tried it again with an Ubuntu instance already spun up. I set the default to v2, and spun it up. Did the package updates up front. Then I started the fish install. That's where the most recent video starts.
https://1drv.ms/v/s!ApEXGJp7Ipuxi6UOLD_Facse3B2xOg
shayne commentedon Jun 14, 2019
Looks like #4104
craigloewen-msft commentedon Jun 14, 2019
Aaron Kulbe (@akulbe) if you run this command:
echo $PATHwhat's the output?
akulbe commentedon Jun 14, 2019
https://1drv.ms/u/s!ApEXGJp7Ipuxi6UkrFBy-GqBIzXwUw
Hopefully video is okay, as it gets more than just your answer. I figure as much data as possible might be helpful.
craigloewen-msft commentedon Jun 14, 2019
It might be #4104, or I think it could also a slightly different issue:
It seems that the fish shell is trying to access files that are on your PATH that are stored in your 'Program Files (x86)/Common Files/Oracle/Java/javapath' and you don't have access to them. This could be due to them being links, or due to them being non-accessible due to admin rights. I'll install Java and try to repro!
craigloewen-msft commentedon Jun 14, 2019
Yup this is a duplicate of #4104 , it's due to the link in the Java folder.
Here's a temporary workaround (though I don't know how stable it will be since I'm sure that java_target folder will often change)
We'll track your issue on #4104! Thanks for filing it, I'll close this one out as a duplicate.
craigloewen-msft commentedon Jun 14, 2019
You mentioned the workaround isn't working, please make sure to run the window with administrator privileges and the
mklinkcommand is only incmd(You can see I ran cmd from PowerShell, hopefully it's not too confusing!)akulbe commentedon Jun 14, 2019
I missed the
cmdpart. You know... ready, fire, aim? I don't need no stinkin docs! 😂Thank you, sir! That did the trick. Do you think that "target" directory changes dynamically, or just with each Java revision?
craigloewen-msft commentedon Jun 14, 2019
Couldn't tell you, I'm not sure how Java organizes that folder. So fingers crossed it won't break too often until we get a fix out!
aadibajpai commentedon Jun 17, 2020
I had the same problem, but when I try to execute that command I get
aadibajpai commentedon Jun 17, 2020
Okay, so I have the same setup. fish on WSL 2 with Ubuntu and omf → bobthefish, it was all working fine until today when I restarted my computer. I have the same problem when opening terminal but with a lot more entries, even uninstalling Java to remove it from the path leaves me with all the other ones.
I realize this is being tracked in #4104 but since the fix was here I was wondering if there's a temporary fix for this too, hopefully 😶
aadibajpai commentedon Jun 17, 2020
Okay this is weirder than I thought, I opened another tab with Ubuntu and got that same output except at the end there was
[process exited with code 1].Then when I opened another tab, now fish is working without an issue and how it normally works. The only thing I did was open bash in cmd and take a look around if it was reading and following symlinks and stuff which was alluded to (it did, and so does fish). I have no clue what changed but at least it's working fine now.
Sicks3c commentedon Oct 9, 2020
Aadi Bajpai (@aadibajpai)
Any update I have the same Issue
Just upgraded to WSL2 and I have this with fish the same output as you
cadillion commentedon Nov 20, 2020
Aadi Bajpai (@aadibajpai) Ayoub Elaich (@Sicks3c)
I had the same issue, running WSL2 as administrator seems to resolve the problem for any administrator sessions. Non-admin sessions are still broken, so not an ideal workaround, but it gets the job done.
ndywicki commentedon Nov 26, 2020
Hello,
I've the same issue with WSL2 since today:
One lead can be related to the fact that I installed a Python and Ruby environment yesterday
For Ruby with
rbenvand fish-rbenv.I've also update my PATH :
set -U fish_user_paths $HOME/.rbenv/bin $fish_user_pathsMaybe it's the culprits..
ndywicki commentedon Nov 27, 2020
Strange if I do a
su myuserafter starting, the fish session is ok...ndywicki commentedon Dec 5, 2020
Ok, I found the problem, after having reinstalled my Ubuntu 20.04 session several times with this problem each time when starting a Fish shell session.
Everything is in order if I disable the Fast start-up mode of Win10 ...
See https://stephenreescarter.net/wsl2-network-issues-and-win-10-fast-start-up/
Hoping to help.
lssbiubiubiu commentedon Apr 5, 2021
i use wsl2 and fish-shell too, ever it worked well, studently someday the same issue occurred, after i reboot my pc, it works fine now. That's strange.