Dear fish-y people,


I just ran into a problem with fish, which I described here:

https://unix.stackexchange.com/questions/474628/define-function-in-fish-use-it-with-watch


Sadly, watch executes its commands within sh/bash, not within fish. Of course I can use

watch -n 10 "fish -c my_function"

but this requires my_function to be saved within fish. But I like to define a fish function on the fly, without saving them for later sessions.

Is it possible to build a proper watch command, which runs inside of fish, and can be used to execute fish commands?


David





_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to