blob: d4e17dc25d4f4769da3f68b6a2cdf15d9121857a (
plain)
1
2
3
4
5
6
7
8
9
|
function alert --description 'Report status of command to desktop'
if test $status -eq 0
notify "✅ Done" (history | head -n1)
else
notify "❌ Failed" (history | head -n1)
end
end
|