Skip to content

ShinniUwU/windows-terminal-dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Terminal Customization

Windows Terminal Look

This repository contains configurations and instructions to customize your Windows Terminal appearance.

Requirements

  • PowerShell 7 (Required for optimal functionality)
  • Scoop (A command-line installer for Windows)
  • Git (To install the other packages)
  • StarShip (Minimal, blazing-fast, and infinitely customizable prompt for any shell!)
  • FastFetch (System Information)

Installation

  1. Install PowerShell 7. Although the configuration can work with other versions, I recommend using PowerShell 7 as it doesn't display annoying text every time you open it.

  2. Run the following commands in your PowerShell terminal (Not tested, does not work with PowerShell 7, use PowerShell 5 instead):

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser; Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression; scoop install git; scoop install fastfetch; scoop install starship

    Or, you can run the individual commands (safer):

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
    scoop install git
    scoop install starship 
    scoop install fastfetch

    If installing fastfetch faces any issues, try running PowerShell as an administrator.

  3. Clone/Download this repository to your local machine.

  4. Navigate to the .config directory at C:\Users\[name_of_pc]\.config\starship\starship.toml and create a starship folder if it doesn't exist. Place the configuration file from here into this folder.

  5. Customize your fastfetch configuration by navigating to the .config directory and then into the fastfetch folder from here. Feel free to tweak the settings according to your preferences. Refer to fastfetch presets for inspiration.

  6. Copy the PowerShell folder from this repository to your Documents folder.

  7. The JSON file contains my other settings; do not copy them into your JSON settings since it won't work.

Fixing Script Execution Errors

If you encounter the error:

File C:\Users\[username]\OneDrive\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 cannot be loaded. The file C:\Users\[username]\OneDrive\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 is not digitally signed. You cannot run this script on the current system.

Follow these steps to resolve it:

  1. Change the Execution Policy:

    Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
  2. Unblock the File:

    Unblock-File -Path "C:\Users\[username]\OneDrive\Documents\PowerShell\Microsoft.PowerShell_profile.ps1"
  3. Run the Script Again: After unblocking the file, you should be able to run the script without seeing the security warning each time.

Getting Started

With the installations and configurations done, you are now ready to use your customized Windows Terminal. Open the terminal and enjoy your personalized setup!

Inspiration

Check out the video that inspired this terminal customization.

For any further customization or troubleshooting, feel free to explore the repository and adjust the configurations to your liking.