10

How would a command like this have to be expressed in fish?

ls -l $(which vim)
16

In fish, $ is used only for variable expansion. Omit the $ from the command and you should be good. Say:

ls -l (which vim)

You might also want to refer to the documentation: Command Substitutions

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.