From 73c324286eb2a41564bed826feda36e91b9d39a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Sat, 22 Oct 2022 12:56:49 +0200 Subject: [PATCH] Removed theme dir override variable It can be done through the usual env configuration stuff and I didn't remember that. --- gprompt.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/gprompt.pl b/gprompt.pl index bd13db5..9d0b924 100644 --- a/gprompt.pl +++ b/gprompt.pl @@ -298,9 +298,6 @@ sub load_theme ( map { $ENV{HOME} . '/' . $_ } @{$CONFIG{cfg_user_themes}} ) , @{$CONFIG{cfg_sys_themes}} ); - if ($CONFIG{cfg_from_env} && exists $ENV{GPROMPT_THEME_DIR}) { - unshift @tdirs, $ENV{GPROMPT_THEME_DIR}; - } foreach my $dir ( @tdirs ) { my $path = "$dir/${theme}.pm"; next unless -f $path;