neofetch: Fix yash shell. Closes #1421

parent ede5c1ee
......@@ -1594,6 +1594,13 @@ get_shell() {
shell+=$("$SHELL" -c "printf %s \$tcsh")
;;
yash)
shell+=$("$SHELL" --version 2>&1)
shell=${shell/ $shell_name}
shell=${shell/ Yet another shell }
shell=${shell/ Copyright*}
;;
*)
shell+=$("$SHELL" --version 2>&1)
shell=${shell/ $shell_name}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment