From 1955e3b26f1bce977f73b14957b2110d4463b696 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 26 Dec 2022 03:35:21 +0200 Subject: [PATCH] remove unnecessary stuff from zsh and nvim --- nvim/lua/plugins.lua | 8 +------- zsh/prompt-powerline.zsh | 21 +++------------------ 2 files changed, 4 insertions(+), 25 deletions(-) diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 38813d8..269530d 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -21,13 +21,7 @@ end if require('packer_init') then return end --[[ plugins config ]] -require('lualine').setup { - options = { - icons_enabled = false, - section_separators = { left = nil, right = nil }, - component_separators = { left = '|', right = '|' } - } -} +require('lualine').setup() --[[ telescope maps ]] map('n', 'ff', 'Telescope find_files') diff --git a/zsh/prompt-powerline.zsh b/zsh/prompt-powerline.zsh index 0481cfd..dbfe5a0 100644 --- a/zsh/prompt-powerline.zsh +++ b/zsh/prompt-powerline.zsh @@ -5,8 +5,8 @@ printf -v PROMPT4 $prompt_fmtn '+%N:%i' prompt_fifo=~/.zsh_gitstatus_$$ typeset -A prompt_symbols=( - sep_a '' #$'\ue0b0' - sep_b '' #$'\ue0b1' + sep_a $'\ue0b0' + sep_b $'\ue0b1' ellipsis $'\u2026' ro $'\u2717' ssh $'\u23fb' @@ -17,7 +17,7 @@ typeset -A prompt_symbols=( git_unmerged '*' bang $'\n\U1f525' ) -# gruvbox + typeset -A prompt_colors=( fg '#ebdbb2' user '#458588' @@ -32,21 +32,6 @@ typeset -A prompt_colors=( 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=