mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
chore: make it straightforward (#562)
Co-authored-by: luc <814640709@qq.com>
This commit is contained in:
parent
d98c510eee
commit
31256d6be6
@ -17,7 +17,7 @@ catch
|
||||
endtry"
|
||||
|
||||
if [ $2 == "--all" ]; then
|
||||
USERS=($(ls -l /home | awk '{if(NR>1)print $9}'))
|
||||
USERS=($(ls /home))
|
||||
for user in ${USERS[*]}; do
|
||||
homepath=$(eval echo "~$user")
|
||||
IFS=''
|
||||
|
Loading…
Reference in New Issue
Block a user