Skip to content

Commit

Permalink
add preflight command
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Corbett committed Jul 13, 2023
1 parent 2275ca2 commit 1203ed1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Binary file added zsh/addons/goddamn.wav
Binary file not shown.
Binary file added zsh/addons/hotdamn.wav
Binary file not shown.
3 changes: 3 additions & 0 deletions zsh/functions/preflight
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function preflight() {
npm run preflight && (afplay ~/.zsh/addons/hotdamn.wav; exit 0) || (c=$?; afplay ~/.zsh/addons/goddamn.wav; (exit $c))
}

0 comments on commit 1203ed1

Please sign in to comment.