Created
December 16, 2010 16:44
-
-
Save joefiorini/743626 to your computer and use it in GitHub Desktop.
Shell function to support multiple accounts for vmail (http://danielchoi.com/software/vmail.html) using one command.
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
mail() { | |
if [[ $1 = "p" ]]; then | |
rvm system exec vmail -c ~/.vmailrc-p | |
elif [[ $1 = "w" ]]; then | |
rvm system exec vmail -c ~/.vmailrc-w | |
else | |
echo "Please specify an account." | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment