powerline, fonts
This commit is contained in:
parent
38a8bca89c
commit
d8585b25bd
7 changed files with 10 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
|||
set prompt_sep \ue0bc
|
||||
set prompt_sep \ue0b0
|
||||
set prompt_bang \n\ (set_color brred)\u266a\
|
||||
set git_sign \ue0a0
|
||||
set color_fg brwhite
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function prompt.user
|
||||
if test -n "$SSH_CLIENT" || string match -qe root "$USER"
|
||||
if test -n "$SSH_CONNECTION" || string match -qe root "$USER"
|
||||
prompt.add black $USER@$hostname
|
||||
end
|
||||
end
|
||||
|
|
|
@ -28,8 +28,7 @@ if require('packer_init').init(plugins) then return end
|
|||
require('lualine').setup{
|
||||
options = {
|
||||
icons_enabled = false,
|
||||
component_separators = { left = '\u{2022}', right = '\u{2022}' },
|
||||
section_separators = { left = '\u{e0bc}', right = '\u{e0be}' }
|
||||
component_separators = { left = '\u{2022}', right = '\u{2022}' }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ prompt_wt="$USERNAME@$HOST"
|
|||
prompt_fifo=~/.zsh_gitstatus_$$
|
||||
prompt_blimit=12
|
||||
typeset -A prompt_symbols=(
|
||||
sep_a $'\ue0bc'
|
||||
sep_a $'\ue0b0'
|
||||
ellipsis $'\u2026'
|
||||
git $'\ue0a0'
|
||||
git_unstaged '~'
|
||||
|
|
|
@ -35,7 +35,7 @@ set -g message-style "bg=blue,fg=white"
|
|||
set -g message-command-style "bg=red,fg=white"
|
||||
set -g status on
|
||||
set -g status-style "fg=black,bg=white"
|
||||
set -g status-format[0] "#[fg=brightred,bg=black,italics] #h[#S] #[default]\ue0bc #{W: #I:#W ,#[reverse] #I:#W #[noreverse]} #[align=right]\ue0be#[reverse] %a %e %k:%M "
|
||||
set -g status-format[0] "#[fg=brightred,bg=black,italics] #h[#S] #[default]\ue0b0 #{W: #I:#W ,#[reverse] #I:#W #[noreverse]} #[align=right]\ue0b2#[reverse] %a %e %k:%M "
|
||||
set -g status-interval 2
|
||||
set -g status-position "bottom"
|
||||
set -g status-justify "left"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue