Unverified Commit 65fd07a1 authored by Matthew Brett's avatar Matthew Brett Committed by GitHub
Browse files

Merge pull request #260 from demonchild2112/patch-1

MRG: Rename 'gh-clone' to fix bash error on MacOS
parents 605aa876 1d0dde39
...@@ -91,10 +91,14 @@ function is_function { ...@@ -91,10 +91,14 @@ function is_function {
(set +e; $(declare -Ff "$1" > /dev/null) && echo true) (set +e; $(declare -Ff "$1" > /dev/null) && echo true)
} }
function gh-clone { function gh_clone {
git clone https://github.com/$1 git clone https://github.com/$1
} }
# gh-clone was renamed to gh_clone, so we have this alias for
# backwards compatibility.
alias gh-clone=gh_clone
function set_opts { function set_opts {
# Set options from input options string (in $- format). # Set options from input options string (in $- format).
local opts=$1 local opts=$1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment