This repository contains a collection of PowerShell scripts that allow you to customize the appearance and behavior of the PowerShell console using the PSReadLine module.
- Set PSReadLine options to customize history saving style, edit mode, bell style, and more
- Customize the console prompt to display username, hostname, current path, and administrator status
- Define a function to shorten and stylize the displayed path in the console
To use these scripts, you need to have PowerShell and the PSReadLine module installed on your system. If you don't have PSReadLine installed, you can install it using the following command:
Install-Module -Name PSReadLine
After installing PSReadLine, you can download or clone this repository and run the scripts as described in the Usage section.
- Open a PowerShell console
- Change the directory to the location where you have downloaded/cloned this repository
- Run the script
Customize-Console.ps1
to apply the customizations
.\Customize-Console.ps1
Contributions to this project are welcome! If you have any ideas, suggestions, or improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.