From 30b8a449aef8ce1b2d2d24bf96d063dd7f3cced6 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Mon, 2 May 2022 10:02:02 -0500 Subject: [PATCH] update get_os_icon for wsl (#214) --- prompt/oh-my.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prompt/oh-my.nu b/prompt/oh-my.nu index c6dbc0e..e2bf48e 100644 --- a/prompt/oh-my.nu +++ b/prompt/oh-my.nu @@ -172,10 +172,10 @@ def get_os_icon [os] { (char -u f179) } else if ($os.name =~ windows) { (char -u f17a) - } else if ($os.family =~ unix) { - (char -u f17c) } else if ($os.kernel_version =~ WSL) { $'(char -u f17a)(char -u f17c)' + } else if ($os.family =~ unix) { + (char -u f17c) } else { '' }