-
-
Save adamamyl/a90619fac110b924005a5a0579b64ec3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
# | |
# keychain-search: | |
set -e | |
if [ -z $1 ]; then | |
echo "Specify thing to look for as argument" | |
echo "Maybe you want one of: | |
adam-stage-play adam-beta-play adam-play | |
adam-stage-playlive adam-beta-playlive adam-playlive | |
examplebank-stage-play examplebank-beta-play examplebank-play | |
payrnet-stage-playlive payrnet-beta-playlive payrnet-playlive | |
" | |
exit 17 | |
fi | |
security find-generic-password -a ${USER} -w -s ${1} | |
# vim:tabstop=4:expandtab:shiftwidth=4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment