How would a command like this have to be expressed in fish?
ls -l $(which vim)
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityIn 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