mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 03:51:20 -03:00
remove sed from __fish_print_xrandr_outputs.fish
This commit is contained in:
committed by
Fabian Homborg
parent
83637e2178
commit
374772e539
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user