From 83637e2178e996fcf30358bc4b982e314db4368d Mon Sep 17 00:00:00 2001 From: Wilke Schwiedop Date: Sun, 15 Apr 2018 18:59:35 +0200 Subject: [PATCH] remove sed from __fish_complete_groups.fish --- share/functions/__fish_complete_groups.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/functions/__fish_complete_groups.fish b/share/functions/__fish_complete_groups.fish index 051f66663..523412d5a 100644 --- a/share/functions/__fish_complete_groups.fish +++ b/share/functions/__fish_complete_groups.fish @@ -1,8 +1,8 @@ function __fish_complete_groups --description "Print a list of local groups, with group members as the description" if command -sq getent - getent group | cut -d ':' -f 1,4 | sed 's/:/\t/' + getent group | cut -d ':' -f 1,4 | string replace : \t else - cut -d ':' -f 1,4 /etc/group | sed 's/:/\t/' + cut -d ':' -f 1,4 /etc/group | string replace : \t end end