Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nathan Hartwell
committed
Mar 17, 2017
1 parent
d934990
commit 7203dd1
Showing
1 changed file
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
#!/bin/bash | ||
|
||
say 'pawned you!' | ||
osascript -e 'tell app "Finder" to display dialog "Hacked by Chinese!"' >/dev/null 2>&1 | ||
echo 'pw3ned' | ||
function pw3n_osx { | ||
say 'pawned you!' | ||
osascript -e 'tell app "Finder" to display dialog "Hacked by Chinese!"' >/dev/null 2>&1 | ||
} | ||
|
||
function pw3n_other { | ||
echo 'pw3nd by git prompt' | wall | ||
} | ||
|
||
case "$OSTYPE" in | ||
darwin*) pw3n_osx;; | ||
*) pw3n_other;; | ||
esac |