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:
commit
509b9d2c01
2
yadm
2
yadm
@ -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)"
|
||||||
|
Loading…
Reference in New Issue
Block a user