bat-extras
bat-extras copied to clipboard
batwatch: $command does not exist
I'm using the bat-extras-git AUR package on Manjaro GNOME.
$ batwatch sensors
[batwatch error]: 'sensors' does not exist
Running watch sensors works as expected.
The batwatch command was initially meant to watch files, but it shouldn't be too difficult to add support for commands.
Would an interface like batwatch -c 'sensors' be fine?
Or maybe something like batwatch -c -- sensors, which would lend itself well to being aliased?
Oh, I didn't realize it was designed only for files. Support for commands would be neat!
Support for this was added in 164142dd4342564a644aaa41e3ac4d73008ce7c0.
To avoid breaking compatibility, it was added as: batwatch -x [command] [args...]