1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2025-06-13 13:03:58 +00:00

Merge remote-tracking branch 'origin/patch-2'

This commit is contained in:
Ross Smith II 2018-08-21 14:47:17 -07:00
commit 509b9d2c01

2
yadm
View File

@ -149,7 +149,7 @@ function alt() {
local_host="$(config local.hostname)" local_host="$(config local.hostname)"
if [ -z "$local_host" ] ; then if [ -z "$local_host" ] ; then
local_host=$(hostname) local_host=$(uname -n)
local_host=${local_host%%.*} #; trim any domain from hostname local_host=${local_host%%.*} #; trim any domain from hostname
fi fi
match_host="(%|$local_host)" match_host="(%|$local_host)"