My default shell is fish. I find it very pleasant and easy to use, and it was very friendly when I was first learning the shell. The downside is that it seems to have a relatively small user base, and so you can’t always just do a Google search when you hit an error message.
Here’s a rather odd one I came across this evening: running
cd would throw up a “test: Missing argument” message, but any other command was fine:
$ cd ~/bin test: Missing argument at index 2 $ pwd /Users/alexwlchan/bin
Googling this error message turns up just four results, and none of them were particularly useful in solving my problem. This is where I was hitting a problem, and how I fixed it.Continue reading →