That's a great question. Thanks for asking it. I have fish 2.1.1. I
thought that using a begin/end block would be the way to do this, but
that is a synatx error. Then I
put the code into a function, and that didn't work either--not a syntax
error, but it waited for the sleep to finish before showing the prompt
again.
I found a way to make it work calling fish explicitly:
fish -c 'sleep 10; and beep' &
I assume that putting the code into its own shell script file would also
work.
--
http://www.fastmail.fm - Same, same, but different...
------------------------------------------------------------------------------
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users