From 60d0fc7dbc6c294d82b8aabf5e2a16068671d8e2 Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 18 May 2020 09:50:06 +0200 Subject: [PATCH] add p10k --- wm/.config/albert/albert.conf | 1 + zsh/.zshrc | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/wm/.config/albert/albert.conf b/wm/.config/albert/albert.conf index 8876d6a..83ead7a 100644 --- a/wm/.config/albert/albert.conf +++ b/wm/.config/albert/albert.conf @@ -67,3 +67,4 @@ hideOnFocusLoss=true itemCount=5 showCentered=true theme=SolarizedDarkBlue +windowPosition=@Point(3184 280) diff --git a/zsh/.zshrc b/zsh/.zshrc index 3adfb1a..a874a4e 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,3 +1,10 @@ +# 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 + zstyle :omz:plugins:ssh-agent agent-forwarding on # export SSH_KEY_PATH="~/.ssh/rsa_id" @@ -98,3 +105,5 @@ for file in ~/.zshrc.d/*; do source "$file" done +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh