Skip to content

toyfer/myPowerShellProfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

PowerShell Console Customization

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.

Features

  • 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

Installation

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.

Usage

  1. Open a PowerShell console
  2. Change the directory to the location where you have downloaded/cloned this repository
  3. Run the script Customize-Console.ps1 to apply the customizations
.\Customize-Console.ps1

Contributing

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.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published