1
0
Fork 0
mirror of synced 2024-05-29 13:31:11 -04:00

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 2020-07-11 05:26:23 +02:00 committed by GitHub
parent 5ac8ad718b
commit 04988ed839
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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