Create .functions

This commit is contained in:
Oliver Davies 2019-03-22 16:27:06 +00:00 committed by GitHub
parent 2f80b44ac0
commit 42ae734773
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
.functions Normal file
View file

@ -0,0 +1,11 @@
shorten() {
pushd ~/Code/opdavi.es
git pull --rebase
npm run shorten $1 $2
popd
}
function mkd() {
mkdir -p "$@" && cd "$@"
}