bat-extras icon indicating copy to clipboard operation
bat-extras copied to clipboard

zsh: parse error near `|'

Open black7375 opened this issue 3 years ago • 1 comments

batwatch can't be compiled.

## Input
zcompile batwatch

## Result
zsh: parse error near `|'
zcompile: can't read file: batwatch

black7375 avatar Apr 01 '21 00:04 black7375

bat-extras currently can't run in any other shells than Bash. I used a lot of Bash-isms in bat-extras, and they unfortunately aren't portable between shells.

I'll see what I can do to support zsh, but it might take a while (if it's even possible with the feature requirements this project has).

eth-p avatar Apr 01 '21 02:04 eth-p