Here's how it looks with White on Black color scheme:
Tango Dark
Solarized Light
#!/bin/bash | |
# | |
# This script installs patched Meslo Powerline font family on Windows. | |
# The fonts are installed for the current user only. The script must be | |
# run from WSL. | |
# | |
# bash -c "$(curl -fsSL https://gist.githubusercontent.com/romkatv/aa7a70fe656d8b655e3c324eb10f6a8b/raw/install_meslo_wsl.sh)" | |
# | |
# If you just want the font files, they are in | |
# https://github.com/romkatv/dotfiles-public/tree/master/.local/share/fonts/NerdFonts. |
mkdir -p ~/.termux | |
curl -fsSL -o ~/.termux/font.ttf 'https://github.com/romkatv/dotfiles-public/raw/master/.local/share/fonts/NerdFonts/MesloLGS%20NF%20Regular.ttf' | |
termux-reload-settings |
XTerm Control Sequences | |
Edward Moy | |
University of California, Berkeley | |
Revised by | |
Stephen Gildea | |
X Consortium (1994) |
# Generated by Powerlevel10k configuration wizard on 2020-04-12 at 20:28 CEST. | |
# Based on romkatv/powerlevel10k/config/p10k-classic.zsh, checksum 30399. | |
# Wizard options: nerdfont-complete + powerline, small icons, classic, unicode, dark, | |
# 24h time, round separators, round heads, round tails, 2 lines, disconnected, no frame, | |
# sparse, many icons, concise, instant_prompt=quiet. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with classic powerline prompt style. Type `p10k configure` to generate | |
# your own config based on it. | |
# |
If you want your prompt to look like Tony Lambiris's but without the lag and bugs of Powerlevel9k, this config is for you.
Ported from tonylambiris/dotfiles/dot.zshrc.
#### !!! THIS GIST IS OBSOLETE !!! #### | |
# | |
# There is now built-in support for transient kubecontext | |
# in Powerlevel10k. | |
# | |
# See: https://github.com/romkatv/powerlevel10k/#show-on-command | |
# | |
#### !!! THIS GIST IS OBSOLETE !!! #### | |
# Run this function from ~/.zshrc to enable transient kubernetes and/or azure |
git status
: between 12 and 15 seconds.
time git status
.gitstatus_query
: between 3 and 4 seconds.
gitstatusd
command-line arguments: unknown.Full repo: https://github.com/romkatv/advent-of-code-2019.
# Measure zsh prompt latency with various themes: | |
# | |
# 1. Run the docker command. | |
# 2. Type `ZSH_THEME=XXX exec zsh` where `XXX` is a theme name such as | |
# `agnoster` or `powerlevel10k/powerlevel10k`. | |
# 3. Type `zsh-prompt-benchmark` and press and hold ENTER until benchmark | |
# results appear. It takes about 10 seconds. | |
docker run -e TERM -it --rm archlinux/base bash -uexc ' | |
pacman -Sy --noconfirm zsh git | |
git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh |