From f69010c7b82696cf0ae7e3603de5d7e7c5157c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Uruba?= Date: Mon, 11 Jan 2021 23:56:01 +0100 Subject: [PATCH] tweak PROMPT, move PATH variable initialization --- zsh/.zshenv | 4 ++++ zsh/.zshrc | 8 ++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/zsh/.zshenv b/zsh/.zshenv index 560e93c..ab22f04 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -2,4 +2,8 @@ source ~/.config/.env source ~/.config/.env.system source ~/.config/.aliases +path+=("${HOME}/scripts") +path+=("${HOME}/.local/bin") +export PATH + eval `keychain --eval --quiet --agents ssh,gpg id_rsa` diff --git a/zsh/.zshrc b/zsh/.zshrc index 7be8f21..7d1a415 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -13,14 +13,10 @@ autoload -Uz compinit compinit # End of lines added by compinstall -path+=("${HOME}/scripts") -path+=("${HOME}/.local/bin") -export PATH - autoload -U colors colors -PROMPT="%{%B%F{214}%}%* %{$fg_bold[cyan]%}%d %(?.$fg_bold[green]✓.$fg_bold[red]%?) -%(3L.$fg_bold[red]%L .)%{%B%F{214}%}%% %{$reset_color%}" +PROMPT="%{$fg_bold[yellow]%}%* %{$fg_bold[cyan]%}%d %(?.$fg_bold[green]✓.$fg_bold[red]%?) +%(3L.$fg_bold[red]%L .)%{$fg_bold[yellow]%}%%%{$reset_color%} " source $HOME/.config/zsh/key-bindings.zsh