From 6c3b0136dee6f44b24e80a70eb88b8a3b83747d6 Mon Sep 17 00:00:00 2001 From: szfcbr Date: Fri, 5 Jan 2018 06:32:14 +0100 Subject: [PATCH] Shells: add support for tcsh --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index f8e88c34..0c248db6 100755 --- a/neofetch +++ b/neofetch @@ -640,6 +640,10 @@ get_shell() { shell="${shell/version}" ;; + "tcsh") + shell+="$("$SHELL" -c 'printf "%s" "$tcsh"')" + ;; + *) shell+="$("$SHELL" --version 2>&1)" shell="${shell/ "${shell_name}"}"