From 235c626ff9fd8b219203c81254242b48a2417c28 Mon Sep 17 00:00:00 2001 From: Von Random Date: Thu, 24 Nov 2022 19:10:49 +0200 Subject: [PATCH] cannot be bothered, it is all in the diff --- vimplugrc | 1 + wezterm.lua | 2 +- zsh/functions.zsh | 1 + zsh/prompt-powerline.zsh | 54 ++++++++++++++++++++-------------------- 4 files changed, 30 insertions(+), 28 deletions(-) diff --git a/vimplugrc b/vimplugrc index 1f6c282..cca207f 100644 --- a/vimplugrc +++ b/vimplugrc @@ -20,6 +20,7 @@ endif if theme == 'gruvbox8' call EnableTGC() + let g:gruvbox_transp_bg = 1 let g:gruvbox_plugin_hi_groups = 1 let g:gruvbox_filetype_hi_groups = 1 endif diff --git a/wezterm.lua b/wezterm.lua index 92be1d7..3e6c534 100644 --- a/wezterm.lua +++ b/wezterm.lua @@ -38,7 +38,7 @@ local themes = { 'SleepyHollow', -- unusual colors 'Srcery (Gogh)', -- nice, but a bit too low on contrast } -local default_theme = themes[27] +local default_theme = themes[18] local webinar_overrides = { harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' }, color_scheme = 'PencilLight', diff --git a/zsh/functions.zsh b/zsh/functions.zsh index 378343e..c9b79f1 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -48,6 +48,7 @@ gsl() { command git stash list $@ } gss() { command git status -sbu $@ } gsw() { command git switch $@ } gup() { command git pull $@ } +gwt() { command git worktree $@ } groot() { cd $(command git rev-parse --show-toplevel) || return 1 } ggrep() { command git grep $@ } gdiff() { command git diff --color $@; } diff --git a/zsh/prompt-powerline.zsh b/zsh/prompt-powerline.zsh index 8ad4fb8..4a2947b 100644 --- a/zsh/prompt-powerline.zsh +++ b/zsh/prompt-powerline.zsh @@ -18,35 +18,35 @@ typeset -A prompt_symbols=( bang $'\n\U01f525' ) # gruvbox -#typeset -A prompt_colors=( -# fg '#ebdbb2' -# user '#458588' -# root '#cc241d' -# ssh '#d65d0e' -# host '#504945' -# cwd '#3c3836' -# ro '#d65d0e' -# git_branch '#504945' -# git_unstaged '#d65d0e' -# git_staged '#458588' -# git_untracked '#cc241d' -# git_unmerged '#689d6a' -#) -# 256 color typeset -A prompt_colors=( - fg 253 - user 24 - root 124 - ssh 66 - host 238 - cwd 236 - ro 88 - git_branch 238 - git_unstaged 166 - git_untracked 124 - git_unmerged 171 - git_staged 54 + fg '#ebdbb2' + user '#458588' + root '#cc241d' + ssh '#d65d0e' + host '#504945' + cwd '#3c3836' + ro '#d65d0e' + git_branch '#504945' + git_unstaged '#d65d0e' + git_staged '#458588' + git_untracked '#cc241d' + git_unmerged '#689d6a' ) +# 256 color +#typeset -A prompt_colors=( +# fg 253 +# user 24 +# root 124 +# ssh 66 +# host 238 +# cwd 236 +# ro 88 +# git_branch 238 +# git_unstaged 166 +# git_untracked 124 +# git_unmerged 171 +# git_staged 54 +#) precmd.prompt.init() { typeset -g prompt_string= prev_color=