Explorar o código

Remove unnecessary -i grep flag from wm ps

Ryan Hanson %!s(int64=6) %!d(string=hai) anos
pai
achega
eb5cf17fdb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      neofetch

+ 1 - 1
neofetch

@@ -1642,7 +1642,7 @@ get_wm() {
 
                 regex_part=$( IFS='|'; echo "${wm_names[*]}" )
 
-                ps_line=$(ps -e | grep -Eio "$regex_part")
+                ps_line=$(ps -e | grep -Eo "$regex_part")
 
                 case "$ps_line" in
                     *"chunkwm"*)   wm="chunkwm" ;;