1
0
mirror of https://github.com/amix/vimrc synced 2025-02-28 14:12:51 +08:00

chore: make it straightforward

This commit is contained in:
luc 2020-02-12 22:23:39 +08:00
parent c30a27a14d
commit 244cc1a89a

View File

@ -17,7 +17,7 @@ catch
endtry" endtry"
if [ $2 == "--all" ]; then if [ $2 == "--all" ]; then
USERS=($(ls -l /home | awk '{if(NR>1)print $9}')) USERS=($(ls /home))
for user in ${USERS[*]}; do for user in ${USERS[*]}; do
homepath=$(eval echo "~$user") homepath=$(eval echo "~$user")
IFS='' IFS=''