Skip to content

Instantly share code, notes, and snippets.

@PainterHalver
PainterHalver / .zshrc
Last active April 27, 2024 01:48
.zshrc
source ~/zsh/powerlevel10k/powerlevel10k.zsh-theme
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/zsh/.p10k.zsh ]] || source ~/zsh/.p10k.zsh
# Don't consider certain characters part of the word, good for foward/backward-word
WORDCHARS=${WORDCHARS//\/}
# configure key keybindings, stolen from Kali
bindkey -e # emacs key bindings
@PainterHalver
PainterHalver / .p10k.zsh
Created April 26, 2024 14:30
p10k prompt file
# Generated by Powerlevel10k configuration wizard on 2024-04-26 at 21:01 +07.
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 52020.
# Wizard options: compatible, unicode, lean, 24h time, 2 lines, dotted, no frame,
# lightest-ornaments, sparse, concise, instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate
# your own config based on it.
#
# Tip: Looking for a nice color? Here's a one-liner to print colormap.