diff --git a/src/base/install.sh b/src/base/install.sh index a678fc9..0abb387 100755 --- a/src/base/install.sh +++ b/src/base/install.sh @@ -79,5 +79,7 @@ echo "Install took $elapsed seconds." echo "elapsed=$elapsed" > .report echo "ADJUSTED_ID=$ADJUSTED_ID" >> .report echo "USERNAME=$USERNAME" >> .report +echo "UID=$UID" >> .report +echo "GID=$GID" >> .report exit $? diff --git a/src/base/modules/common-utils.sh b/src/base/modules/common-utils.sh index f019d9b..1580849 100755 --- a/src/base/modules/common-utils.sh +++ b/src/base/modules/common-utils.sh @@ -185,9 +185,12 @@ chsh -s /bin/zsh ${USERNAME} if [ "$ADJUSTED_ID" = "mac" ]; then dscl . -read /Users/${USERNAME} UserShell else - getent passwd $(USERNAME) | awk -F: '{ print $7 }' + getent passwd $USERNAME | awk -F: '{ print $7 }' fi +echo "debugging username, uid, gid, shell" +cat /etc/passwd + # Install packages for appropriate OS case "${ADJUSTED_ID}" in "debian") @@ -222,6 +225,7 @@ if [ "$ADJUSTED_ID" != "mac" ]; then chmod -R 775 $(dirname $ZSHPLUG_PATH) fi +echo "Installing system-wide plugin manager for vim..." curl -fLo "${VIMPLUG_PATH}/autoload/plug.vim" --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim if [ "$ADJUSTED_ID" != "mac" ]; then @@ -257,7 +261,7 @@ if [ "${UPDATE_RC}" = "true" ]; then fi vim_rc_snippet=$(cat <