From c4f702b7c484c21c1f64eaa45eafcd814216bc0e Mon Sep 17 00:00:00 2001 From: Sunguk Lee Date: Mon, 15 Feb 2016 18:40:49 +0900 Subject: [PATCH] Fix `No command 'dscl' found` error of killall command `dscl` command have OSX system, to change `__fish_print_users` --- share/completions/killall.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/killall.fish b/share/completions/killall.fish index 4bf4236f0..154a63eed 100644 --- a/share/completions/killall.fish +++ b/share/completions/killall.fish @@ -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