From d5a9b2900f585e3051de1e2fcd50989f112a03dc Mon Sep 17 00:00:00 2001 From: eeleater Date: Sun, 30 May 2021 09:28:50 +0200 Subject: [PATCH] removed some unneeded plugins --- zsh/.p10k.zsh | 23 +++++++++++------------ zsh/files/sshagent.zsh | 2 +- zsh/rc.zsh | 7 +------ 3 files changed, 13 insertions(+), 19 deletions(-) diff --git a/zsh/.p10k.zsh b/zsh/.p10k.zsh index 49e4930..fb514d3 100644 --- a/zsh/.p10k.zsh +++ b/zsh/.p10k.zsh @@ -1,7 +1,7 @@ -# Generated by Powerlevel10k configuration wizard on 2020-12-18 at 10:40 CET. +# Generated by Powerlevel10k configuration wizard on 2021-05-30 at 09:28 CEST. # Based on romkatv/powerlevel10k/config/p10k-pure.zsh, checksum 13301. -# Wizard options: nerdfont-complete + powerline, small icons, pure, 24h time, 2 lines, -# compact, transient_prompt, instant_prompt=verbose. +# Wizard options: nerdfont-complete + powerline, small icons, pure, snazzy, 24h time, +# 2 lines, compact, transient_prompt, instant_prompt=verbose. # Type `p10k configure` to generate another config. # # Config file for Powerlevel10k with the style of Pure (https://github.com/sindresorhus/pure). @@ -39,12 +39,12 @@ # Prompt colors. local grey='242' - local red='1' - local yellow='3' - local blue='4' - local magenta='5' - local cyan='6' - local white='7' + local red='#FF5C57' + local yellow='#F3F99D' + local blue='#57C7FF' + local magenta='#FF6AC1' + local cyan='#9AEDFE' + local white='#F1F1F0' # Left prompt segments. typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( @@ -53,7 +53,6 @@ dir # current directory vcs # git status command_execution_time # previous command duration - time # =========================[ Line #2 ]========================= newline # \n virtualenv # python virtual environment @@ -66,7 +65,7 @@ # command_execution_time # previous command duration # virtualenv # python virtual environment # context # user@host - #time # current time + time # current time # =========================[ Line #2 ]========================= newline # \n ) @@ -153,7 +152,7 @@ typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION='${${${P9K_CONTENT/⇣* :⇡/⇣⇡}// }//:/ }' # Grey current time. - typeset -g POWERLEVEL9K_TIME_FOREGROUND=$yellow + typeset -g POWERLEVEL9K_TIME_FOREGROUND=$grey # Format for the current time: 09:51:02. See `man 3 strftime`. typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}' # If set to true, time will update when you hit enter. This way prompts for the past diff --git a/zsh/files/sshagent.zsh b/zsh/files/sshagent.zsh index e3f2e57..e6147d0 100644 --- a/zsh/files/sshagent.zsh +++ b/zsh/files/sshagent.zsh @@ -27,5 +27,5 @@ else if ! is_ssh_agent_pid_valid $SSH_AGENT_PID; then start_agent fi - add_identities + add_identities fi diff --git a/zsh/rc.zsh b/zsh/rc.zsh index 8dd2ad7..a762c13 100644 --- a/zsh/rc.zsh +++ b/zsh/rc.zsh @@ -7,12 +7,7 @@ export STARSHIP_CONFIG=$ZDOTDIR/starship.toml export ZSH_EVALCACHE_DIR="$HOME/.cache/evalcache" # Setopt Stuff -setopt multios -setopt prompt_subst -setopt auto_pushd -setopt pushd_ignore_dups -setopt pushdminus -setopt inc_append_history +setopt multios prompt_subst auto_pushd pushd_ignore_dups pushdminus inc_append_history # Zinit Clone if not exist [[ ! -f $HOME/.config/zinit/bin/zinit.zsh ]] && command git clone https://github.com/zdharma/zinit $HOME/.config/zinit/bin