edc / bass

Make Bash utilities usable in Fish shell
MIT License
2.2k stars 70 forks source link

variables cannot be bracketed #82

Closed KiaraGrouwstra closed 4 years ago

KiaraGrouwstra commented 4 years ago

Trying bass with a syntax construct I knew differed between bash and fish:

$ bass echo ${PATH}
fish: Variables cannot be bracketed. In fish, please use {$PATH}.
bass echo ${PATH}
           ^

I guess this is out-of-scope for now huh :sweat_smile:, or is this just a limitation of how you're working from within fish?

edc commented 4 years ago

 You can quote it so fish will not try to interpret the variable.

$ bass echo '${PATH}'