From 2662c42adc3688ad3239d2404598e527a9811a26 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 2 Jan 2017 18:06:27 +1100 Subject: [PATCH] Ascii: Fix bug when using custom ascii art --- neofetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 84ee3e4d..ac3928a9 100755 --- a/neofetch +++ b/neofetch @@ -1922,8 +1922,9 @@ get_ascii() { [[ -d "$ascii_dir" ]] || \ { to_off "Ascii: Ascii file not found, falling back to text mode."; return; } fi + + ascii="${ascii_dir}/${ascii_file}" fi - ascii="${ascii_dir}/${ascii_file}" # Set locale to get correct padding. export LC_ALL="$sys_locale"