From f372d7162898cc8240b8eb9f54e97f0378aa503a Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 6 Mar 2020 21:49:26 +0200 Subject: [PATCH] neofetch: Fix yash shell. Closes #1421 --- neofetch | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/neofetch b/neofetch index ab064fda..f514ad36 100755 --- a/neofetch +++ b/neofetch @@ -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}