Releases: vexsx/Terminal-D
Terminal-D
This script is a bash script that interacts with the user to change the CMD color and time zone settings.
-
It first asks the user if they want to change the CMD color. If the user chooses "yes", it changes the CMD color by modifying the
.bashrc
file and setting thePS1
environment variable to a specific value. The new CMD color is set to display a colored prompt with username, hostname, current directory, and timestamp. -
After that, it asks the user if they want to change the time zone. If the user chooses "yes", it informs them that the default time zone is Asia/Tehran and proceeds to change the time zone using the
timedatectl
command. It sets the time zone to Asia/Tehran.
The script provides feedback to the user at each step, confirming whether the CMD color or time zone has been changed or not. It also handles invalid choices by displaying appropriate error messages.