From 374772e539b1bd7818ac3247c277e419ad30937b Mon Sep 17 00:00:00 2001 From: Wilke Schwiedop Date: Sun, 15 Apr 2018 18:59:57 +0200 Subject: [PATCH] remove sed from __fish_print_xrandr_outputs.fish --- share/functions/__fish_print_xrandr_outputs.fish | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/share/functions/__fish_print_xrandr_outputs.fish b/share/functions/__fish_print_xrandr_outputs.fish index 61bb73628..43614a996 100644 --- a/share/functions/__fish_print_xrandr_outputs.fish +++ b/share/functions/__fish_print_xrandr_outputs.fish @@ -1,5 +1,3 @@ function __fish_print_xrandr_outputs --description 'Print xrandr outputs' - xrandr | sed '/^Screen\|^ /d; s/^\(\S\+\) \+\(.\+\)/\1\t\2/' - - + xrandr | string replace -r --filter '^(\S+)\s+(.*)$' '$1\t$2' | string match -v -e Screen end