Em vez de &&
, que não existe em fish
, use ;
e o comando and
:
cd /study; and ls -la
De acordo com o tutorial fish
:
Unlike other shells,
fish
does not have special syntax like&&
or||
to combine commands. Instead it has commandsand
,or
, andnot
.