remove sed from __fish_print_xrandr_outputs.fish

This commit is contained in:
Wilke Schwiedop 2018-04-15 18:59:57 +02:00 committed by Fabian Homborg
parent 83637e2178
commit 374772e539

View file

@ -1,5 +1,3 @@
function __fish_print_xrandr_outputs --description 'Print xrandr outputs' 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 end