Fix to make sure that feature is available by default (server owners)

This commit is contained in:
iliajie
2022-10-31 22:21:53 +02:00
parent f144517e6c
commit 027578312a
3 changed files with 3 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
base_port=555
flavors=1
noflavors=0

View File

@@ -1,3 +1,3 @@
base_port=Base port number for WebSockets connections,0,5
size=Terminal width and height in characters,3,Automatic,5,,,Static (80x24)
flavors=Enable inbuilt command prompt color customization,1,1-Yes,0-No
noflavors=Disable inbuilt command prompt color customization,1,1-Yes,0-No

View File

@@ -201,7 +201,7 @@ if ($user eq "root" && $in{'user'}) {
# Terminal flavors
my (@cmds, $term_flavors);
if ($config{'flavors'}) {
if (!$config{'noflavors'}) {
my ($cmd_lsalias, $cmd_ps1) = ("alias ls='ls --color=auto'");
# Optionally add colors to the prompt depending on the user type