1
0
Fork 0

nvim, vim: separators; bash: fix prompt

This commit is contained in:
Von Random 2023-08-21 21:24:52 +03:00
parent 9be728d5d6
commit 745c771084
3 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ export SSH_AUTH_SOCK="$HOME/.ssh/ssh_auth_sock"
((UID)) && ps_clr=53 || ps_clr=52 ((UID)) && ps_clr=53 || ps_clr=52
# just a colored version of [ $USER $HOSTNAME:$CWD ] # 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 unset ps_clr
unalias ls ld ll 2>/dev/null unalias ls ld ll 2>/dev/null

View file

@ -29,7 +29,7 @@ require('lualine').setup{
options = { options = {
icons_enabled = false, icons_enabled = false,
section_separators = { left = nil, right = nil }, section_separators = { left = nil, right = nil },
component_separators = { left = '|', right = '|' } component_separators = { left = '\u{2022}', right = '\u{2022}' }
} }
} }

View file

@ -33,8 +33,8 @@ nmap <Leader>ft :Filetypes<CR>
# lightline # lightline
g:lightline = { g:lightline = {
colorscheme: 'gruvbox8', colorscheme: 'gruvbox8',
separator: { left: "", right: ""}, separator: { left: '', right: ''},
subseparator: { left: "|", right: "|"} subseparator: { left: '\u2022', right: '\u2022'}
} }
if has('gui_running') if has('gui_running')