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 --- src/complete.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/complete.cpp') diff --git a/src/complete.cpp b/src/complete.cpp index 9737060e..a4ef163a 100644 --- a/src/complete.cpp +++ b/src/complete.cpp @@ -2189,7 +2189,7 @@ static wrapper_map_t &wrap_map() return *wrapper_map; } -/* Add a new target that is wrapped by command. Example: sgrep (command) wraps grep (target). */ +/* Add a new target that is wrapped by command. Example: __fish_sgrep (command) wraps grep (target). */ bool complete_add_wrapper(const wcstring &command, const wcstring &new_target) { if (command.empty() || new_target.empty()) -- cgit v1.2.3