Restrict alt-link delimiter to a period (#49)

pull/57/head
Tim Byrne 7 years ago
parent a25a180b88
commit 02bf83c5ef
No known key found for this signature in database
GPG Key ID: 6CBE24C2FD8CF76E

@ -113,7 +113,7 @@ function alt() {
match_host=$(hostname)
match_host=${match_host%%.*} #; trim any domain from hostname
match_user=$(id -u -n)
match="^(.+)##($match_system|$match_system.$match_host|$match_system.$match_host.$match_user|())$"
match="^(.+)##($match_system|$match_system\.$match_host|$match_system\.$match_host\.$match_user|())$"
#; process relative to YADM_WORK
YADM_WORK=$(unix_path "$("$GIT_PROGRAM" config core.worktree)")

Loading…
Cancel
Save