Skip to content

My Personal PowerShell Profile, Scripts, Functions, and more

Notifications You must be signed in to change notification settings

alarwasyi98/PowerShell

Repository files navigation

PowerShell Profile

Powershell Badge

This repository contains the configuration files and scripts for my PowerShell setup. It includes my PowerShell profile, modules, and various utility scripts. Checkout the Official Documentation to generate your own profile.

banner

To get the perfect experience, make sure FiraCode NerdFont is installed and set it up to bold. I installed it via-Scoop

Repository Structure

The repository is organized as follows dependencies:

Section Description
Applications These are the external applications that are a dependency for my PowerShell setup.
Modules These are the PowerShell modules that I have installed and configured.
Scripts These are the custom PowerShell scripts that I have created for various purposes.
Additional Repository These are the additional Git repositories that I have integrated into my PowerShell setup.
Colorscheme Color properties of most components in my Windows Terminal.

Applications

Application Description
chocolatey Package manager for Windows
neovim Vim-based text editor
starship Cross-shell prompt
git Distributed version control system
fzf Fuzzy finder

Modules

Note

I intentionally ignoring Module's folder because of performance issues and different users might need different versions of modules

Module Description
Terminal-Icons Provides file icons for the terminal
PSReadline Enhances the PowerShell command-line experience
Command-Not-Found Provides suggestions for missing commands
PSWebSearch Provides Googling through PowerShell
ps-color-scripts Derek Taylor's colorscripts fork
winfetch Like Neofetch, but for Windows.

Scripts

Caution

Always review codes that you get outside to avoid system failure etc. Make sure you have idea what you do.

Script Description
Install-Deps (BETA) Installing Dependencies that support this profile
Build-Git Sets up Git configuration and aliases
Get-Linux Retrieves information about the Linux environment
Windows-Utility Provides various Windows-related utility functions
Reset-Neovim Reset the Neovim Configurations
Install-BuildTools Installs the necessary build tools

Important

Most of the scripts is an unsigned scripts. So if you trust the script, Set-ExecutionPolicy to Unrestricted, RemoteSigned, or ByPass before you run the script.

Additional Repository

Repository Description
PSGallery The official PowerShell script repository
PowerShellGet The official PowerShell module repository

Colorscheme

Colorscheme Description
Catppuccin Mocha Soothing pastel theme for Windows Terminal
Dracula (currently used) Dracula Theme for Windows Terminal dark theme

Usage

To use this PowerShell configuration, simply clone this repo to your local machine.

Note

Open a PowerShell terminal (version 5.1 or later) and from the PS C:\Users\username\Documents> prompt, then run the following command:

git clone https://github.com/alarwasyi98/PowerShell.git
  1. Clone the repository to your local machine.
  2. Run the necessary setup scripts to install the required applications and configure the environment.
  3. Customize the PowerShell profile and scripts as needed.

Feel free to explore the repository and use the provided scripts and configurations to enhance your PowerShell experience.

Contributing

If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

About

My Personal PowerShell Profile, Scripts, Functions, and more

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published