1
0
Fork 0

remove unnecessary stuff from zsh and nvim

This commit is contained in:
Von Random 2022-12-26 03:35:21 +02:00
parent b7698eab01
commit 1955e3b26f
2 changed files with 4 additions and 25 deletions

View file

@ -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', '<Leader>ff', '<cmd>Telescope find_files<CR>')

View file

@ -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=