From 745c7710846a509912d774206048ea5fa443a7ca Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 21 Aug 2023 21:24:52 +0300 Subject: [PATCH] nvim, vim: separators; bash: fix prompt --- cli/.bashrc | 2 +- cli/.config/nvim/lua/plugins.lua | 2 +- cli/.vimplugrc | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/.bashrc b/cli/.bashrc index d14a19b..910ffdc 100644 --- a/cli/.bashrc +++ b/cli/.bashrc @@ -15,7 +15,7 @@ export SSH_AUTH_SOCK="$HOME/.ssh/ssh_auth_sock" ((UID)) && ps_clr=53 || ps_clr=52 # just a colored version of [ $USER $HOSTNAME:$CWD ] -printf -v PS1 '\\[\\e[0m\\]\\[\\e[48;5;%sm\\] \\u \\[\\e[48;5;237m\\] \\h \\[\\e[48;5;234m \\w \\[\\e[0m\\]\n\\$ ' $ps_clr +printf -v PS1 '\\[\\e[0m\\]\\[\\e[48;5;%sm\\] \\u \\[\\e[48;5;237m\\] \\h \\[\\e[48;5;234m\\] \\w \\[\\e[0m\\]\n\\$ ' $ps_clr unset ps_clr unalias ls ld ll 2>/dev/null diff --git a/cli/.config/nvim/lua/plugins.lua b/cli/.config/nvim/lua/plugins.lua index 01cd1f4..40e8d7d 100644 --- a/cli/.config/nvim/lua/plugins.lua +++ b/cli/.config/nvim/lua/plugins.lua @@ -29,7 +29,7 @@ require('lualine').setup{ options = { icons_enabled = false, section_separators = { left = nil, right = nil }, - component_separators = { left = '|', right = '|' } + component_separators = { left = '\u{2022}', right = '\u{2022}' } } } diff --git a/cli/.vimplugrc b/cli/.vimplugrc index dcccbc0..b494b95 100644 --- a/cli/.vimplugrc +++ b/cli/.vimplugrc @@ -33,8 +33,8 @@ nmap ft :Filetypes # lightline g:lightline = { colorscheme: 'gruvbox8', - separator: { left: "", right: ""}, - subseparator: { left: "|", right: "|"} + separator: { left: '', right: ''}, + subseparator: { left: '\u2022', right: '\u2022'} } if has('gui_running')