Commit 30836ee7 authored by mattip's avatar mattip
Browse files

remove 'i' from the options to set

parent f55d6fd8
......@@ -102,7 +102,7 @@ alias gh-clone=gh_clone
function set_opts {
# Set options from input options string (in $- format).
local opts=$1
local chars="exhimBH"
local chars="exhmBH"
for (( i=0; i<${#chars}; i++ )); do
char=${chars:$i:1}
[ -n "${opts//[^${char}]/}" ] && set -$char || set +$char
......
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