mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
Fix No command 'dscl' found
error of killall command
`dscl` command have OSX system, to change `__fish_print_users`
This commit is contained in:
parent
00cd01c89e
commit
c4f702b7c4
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ if test (uname) != 'SunOS'
|
|||
|
||||
# Finds and completes all users, and their respective UID.
|
||||
function __make_users_completions
|
||||
set -l users (dscl . list /Users | grep -v '^_.*')
|
||||
set -l users (__fish_print_users)
|
||||
for user in $users
|
||||
set -l uid (id -u $user)
|
||||
# GNU doesn't support UID
|
||||
|
|
Loading…
Reference in a new issue