mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
remove sed from __fish_print_xrandr_outputs.fish
This commit is contained in:
parent
83637e2178
commit
374772e539
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue