fix typo when installing for specific users (#578)

line 34 had `~/$user` which evaluates to `/home/user1/user1`. Now changed into `~$user` as above
This commit is contained in:
Quentin Meeus authored and GitHub committed 2020-07-10 23:26:23 -04:00
1 parent 5ac8ad718b
commit 04988ed839
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,7 @@ else
SELECTED_USERS=${@:2}
echo "Selected users: $SELECTED_USERS"
for user in $SELECTED_USERS; do
homepath=$(eval echo "~/$user")
homepath=$(eval echo "~$user")
IFS=''
echo $VIMRC > ${homepath}/.vimrc
unset IFS