diff options
author | Sunguk Lee <d3m3vilurr@gmail.com> | 2016-02-15 18:40:49 +0900 |
---|---|---|
committer | Sunguk Lee <d3m3vilurr@gmail.com> | 2016-02-15 19:30:58 +0900 |
commit | c4f702b7c484c21c1f64eaa45eafcd814216bc0e (patch) | |
tree | 02be14684628c91e033304481c3e80020463cf82 /share/completions/killall.fish | |
parent | 00cd01c89e17fc8510cdc3fea14ca7fd948c0b0e (diff) |
Fix `No command 'dscl' found` error of killall command
`dscl` command have OSX system, to change `__fish_print_users`
Diffstat (limited to 'share/completions/killall.fish')
-rw-r--r-- | share/completions/killall.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/killall.fish b/share/completions/killall.fish index 4bf4236f..154a63ee 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 |