1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-01-18 08:05:01 +00:00

Revert "use include gitconfig"

This reverts commit 2fae9e358a.
This commit is contained in:
Nebel 2022-11-02 02:32:33 +09:00
parent a30d9cc7fc
commit b8cf08e274
3 changed files with 0 additions and 10 deletions

View file

@ -6,6 +6,5 @@ if (($(id -u) == 0)); then
[[ -f /etc/debian_version ]] \ [[ -f /etc/debian_version ]] \
&& install_apt_packages && install_apt_packages
fi fi
install_gitconfig
install_dotfiles install_dotfiles
install_addons "$@" install_addons "$@"

View file

@ -13,15 +13,6 @@ function install_dotfiles() {
done done
} }
function install_gitconfig() {
if (($(id -u) == 0)); then
sudo --user="#${SUDO_UID:-0}" \
git config --global --add include.path "$(realpath gitconfig)"
else
git config --global --add include.path "$(realpath gitconfig)"
fi
}
function install_apt_packages() { function install_apt_packages() {
local packages local packages
local apt_sources_dir local apt_sources_dir