Commit d6d10825 authored by Justin Hileman's avatar Justin Hileman

Remove common .home suffix from local-config hostname.

parent 5f230e33
# Load custom settings for current hostname
set -l HOST (hostname | sed 's/\(-[0-9]\{1,\}\)\{0,1\}\(\.local\)\{0,1\}$//')
set -l HOST (hostname | sed -E 's/(-[0-9]+)?(\.(local|home))?$//')
set -l HOST_SPECIFIC_FILE $fish_custom/hosts/$HOST.fish
if test -f $HOST_SPECIFIC_FILE
. $HOST_SPECIFIC_FILE
......
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