Skip to content

Instantly share code, notes, and snippets.

View samsara-02's full-sized avatar
🀘
I may be slow to respond.

Sam samsara-02

🀘
I may be slow to respond.
  • β€Ž
  • β€Ž
  • 05:06 (UTC +01:00)
View GitHub Profile
@samsara-02
samsara-02 / better_powershell.md
Created June 8, 2025 11:27 — forked from mh-firouzjah/better_powershell.md
how to add zsh-like theme and feature to windows powershell

Better PowerShell

Theme | History | KeyBinding

MyPowershell

in order to make windows powershell more comfortable and add a some theme and features like history binding, auto complete on keypress and so on, if you have used linux teminl wiht zsh for example, we are going to make powershell like that as much as we can.

What we will achieve

@samsara-02
samsara-02 / .zshrc
Last active August 3, 2023 11:21
42Lausanne Piscine zsh config
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH