Created
October 3, 2017 10:50
-
-
Save bigandy/e6e9279f8fa23b13f55437cb0f6a7f9c to your computer and use it in GitHub Desktop.
Home .functions
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
function gm() { | |
git commit -am "$1" | |
} | |
function gam() { | |
git add -A :/ && git commit -m "$1" | |
} | |
function take() { | |
mkdir $1 && cd $1 | |
} | |
pass() { | |
if [ -n "$1" ] | |
then | |
pwgen -sy $1 1 |pbcopy |pbpaste; echo " Has been copied to clipboard" | |
else | |
pwgen -sy 40 1 |pbcopy |pbpaste; echo "Has been copied to clipboard" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment