3 ms·
i couldnt figure out what "sfx good" was in the boop command so in case anyone was wondering here is my mac osx equivalent 110 boop () { 111 local la
by swyx 4y ago
i couldnt figure out what "sfx good" was in the boop command so in case anyone was wondering here is my mac osx equivalent
110 boop () {
111 local last="$?"
112 if [[ "$last" == '0' ]]; then
113 afplay /System/Library/Sounds/Glass.aiff
114 else
115 afplay /System/Library/Sounds/Submarine.aiff
116 fi
117 $(exit "$last")
118 }