blendle / kns

quick Kubernetes Namespace Switcher
ISC License
292 stars 26 forks source link

bad interpreter: /bin/sh^M: no such file or directory #15

Open mikecarr opened 9 months ago

mikecarr commented 9 months ago

I just installed this, using brew, on my WSL Debian bookworm insance and when I ran the command I got this error:

zsh: /home/linuxbrew/.linuxbrew/bin/kns: bad interpreter: /bin/sh^M: no such file or directory

mikecarr commented 9 months ago

I just ran dos2unix on the file dos2unix /home/linuxbrew/.linuxbrew/Cellar/kns/7e5f78b781c6567f71068585f2b101caca99f0ef/bin/kns and it is working now