From b85a8bbbfed56f603dca5d6da85858f9c973b669 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 9 Sep 2015 20:55:04 +0200 Subject: Rename sgrep to __fish_sgrep Makes it harder to cause issues with aliases, see fish-shell#2245 --- share/functions/__fish_print_users.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/functions/__fish_print_users.fish') diff --git a/share/functions/__fish_print_users.fish b/share/functions/__fish_print_users.fish index 90e690eb..e1c93ffa 100644 --- a/share/functions/__fish_print_users.fish +++ b/share/functions/__fish_print_users.fish @@ -5,7 +5,7 @@ function __fish_print_users --description "Print a list of local users" else if test -x /usr/bin/dscl # OS X support dscl . -list /Users else - sgrep -ve '^#' /etc/passwd | cut -d : -f 1 + __fish_sgrep -ve '^#' /etc/passwd | cut -d : -f 1 end end -- cgit v1.2.3