diff --git a/install b/install index cf71eea..fba6990 100755 --- a/install +++ b/install @@ -5,7 +5,7 @@ cd -- "$(dirname -- "$0")" function install_dotfiles() { local home local dotfile - home=$(eval echo ~"${SUDO_USER:-$(id -un)}") + home=$(eval echo ~"${SUDO_USER:-}") for dotfile in .*; do [[ $dotfile =~ ^(\.\.?|\.git)$ ]] && continue