remove unnecessary stuff from zsh and nvim
This commit is contained in:
parent
b7698eab01
commit
1955e3b26f
2 changed files with 4 additions and 25 deletions
|
@ -21,13 +21,7 @@ end
|
||||||
if require('packer_init') then return end
|
if require('packer_init') then return end
|
||||||
|
|
||||||
--[[ plugins config ]]
|
--[[ plugins config ]]
|
||||||
require('lualine').setup {
|
require('lualine').setup()
|
||||||
options = {
|
|
||||||
icons_enabled = false,
|
|
||||||
section_separators = { left = nil, right = nil },
|
|
||||||
component_separators = { left = '|', right = '|' }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
--[[ telescope maps ]]
|
--[[ telescope maps ]]
|
||||||
map('n', '<Leader>ff', '<cmd>Telescope find_files<CR>')
|
map('n', '<Leader>ff', '<cmd>Telescope find_files<CR>')
|
||||||
|
|
|
@ -5,8 +5,8 @@ printf -v PROMPT4 $prompt_fmtn '+%N:%i'
|
||||||
|
|
||||||
prompt_fifo=~/.zsh_gitstatus_$$
|
prompt_fifo=~/.zsh_gitstatus_$$
|
||||||
typeset -A prompt_symbols=(
|
typeset -A prompt_symbols=(
|
||||||
sep_a '' #$'\ue0b0'
|
sep_a $'\ue0b0'
|
||||||
sep_b '' #$'\ue0b1'
|
sep_b $'\ue0b1'
|
||||||
ellipsis $'\u2026'
|
ellipsis $'\u2026'
|
||||||
ro $'\u2717'
|
ro $'\u2717'
|
||||||
ssh $'\u23fb'
|
ssh $'\u23fb'
|
||||||
|
@ -17,7 +17,7 @@ typeset -A prompt_symbols=(
|
||||||
git_unmerged '*'
|
git_unmerged '*'
|
||||||
bang $'\n\U1f525'
|
bang $'\n\U1f525'
|
||||||
)
|
)
|
||||||
# gruvbox
|
|
||||||
typeset -A prompt_colors=(
|
typeset -A prompt_colors=(
|
||||||
fg '#ebdbb2'
|
fg '#ebdbb2'
|
||||||
user '#458588'
|
user '#458588'
|
||||||
|
@ -32,21 +32,6 @@ typeset -A prompt_colors=(
|
||||||
git_untracked '#cc241d'
|
git_untracked '#cc241d'
|
||||||
git_unmerged '#689d6a'
|
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() {
|
precmd.prompt.init() {
|
||||||
typeset -g prompt_string= prev_color=
|
typeset -g prompt_string= prev_color=
|
||||||
|
|
Loading…
Reference in a new issue