Skip to content
Browse files

Added more creative success message.

  • Loading branch information...
1 parent eef6b27 commit 4d25073b2b2801f5b7bc618bbf9b914a8d5f6b81 @amoslanka amoslanka committed Jan 30, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 pwgen
View
4 pwgen
@@ -62,4 +62,6 @@ CHAR_RAND=${CHARS[$(jot -r 1 1 ${#CHARS[*]})]};
echo $FIRST_WORD$RAND_NUM$CHAR_RAND$SECOND_WORD | pbcopy;
# write the generated password to the screen
-echo "Bam! Your new password:" $FIRST_WORD$RAND_NUM$CHAR_RAND$SECOND_WORD;
+EXPLETIVE=("Bam" "Giggity" "Woot" "Ha cha cha" "Word" "Boo Ya" "Holla" "Hooray" "Hurrah" "Huzzah" "Giddyup" "Yee haw" "Woo hoo" "Falafel" "Yes" "Hip-hip" "Whoopee" "Yippee")
+EXP_RAND=${EXPLETIVE[$(jot -r 1 1 ${#EXPLETIVE[*]})]};
+echo $EXP_RAND"! Your new password:" $FIRST_WORD$RAND_NUM$CHAR_RAND$SECOND_WORD;

0 comments on commit 4d25073

Please sign in to comment.
Something went wrong with that request. Please try again.