mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
Swap uppercase/lowercase for ssh feature (#123)
This commit is contained in:
parent
d24f64da48
commit
995e91591f
2
git-open
2
git-open
|
|
@ -70,7 +70,7 @@ function ssh_resolve() {
|
|||
# Host regex
|
||||
# HostName resolved.domain.com
|
||||
read -r -a ssh_array <<<"${ssh_line}"
|
||||
ssh_optcode="$(echo "${ssh_array[0]}" | tr '[:upper:]' '[:lower:]')"
|
||||
ssh_optcode="$(echo "${ssh_array[0]}" | tr '[:lower:]' '[:upper:]')"
|
||||
if [[ $ssh_optcode == HOST ]]; then
|
||||
# Host
|
||||
ssh_found=false
|
||||
|
|
|
|||
Loading…
Reference in a new issue