Removed theme dir override variable
It can be done through the usual env configuration stuff and I didn't remember that.
This commit is contained in:
parent
5a3d9d9c91
commit
73c324286e
1 changed files with 0 additions and 3 deletions
|
@ -298,9 +298,6 @@ sub load_theme
|
||||||
( map { $ENV{HOME} . '/' . $_ } @{$CONFIG{cfg_user_themes}} ) ,
|
( map { $ENV{HOME} . '/' . $_ } @{$CONFIG{cfg_user_themes}} ) ,
|
||||||
@{$CONFIG{cfg_sys_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 ) {
|
foreach my $dir ( @tdirs ) {
|
||||||
my $path = "$dir/${theme}.pm";
|
my $path = "$dir/${theme}.pm";
|
||||||
next unless -f $path;
|
next unless -f $path;
|
||||||
|
|
Loading…
Reference in a new issue