Dear fish-y people,


I wonder what fish 3.0 will bring - I still run 2.7.1.

In the meanwhile, I wonder when the "watch" command will be implemented in fish.

Define a function:

function f
    echo "f"
end

Then:

watch -n 10 "f"

does not work, as watch runs in bash, and bash doesn't know of the fish function I've just defined.

I can only do

while true
    f
    sleep 10
end

as a workaround.


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



David



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

Reply via email to