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