bar cursor in zsh

This commit is contained in:
Daniel Lundin 2022-11-22 09:55:14 +01:00
parent 019e163227
commit 0ee0b77537
2 changed files with 10 additions and 0 deletions

View file

@ -69,6 +69,10 @@ return {
bottom = 0,
},
default_cursor_style = 'SteadyBlock',
cursor_thickness = "3px",
cursor_blink_rate = 0,
enable_wayland = true,
enable_tab_bar = false,
tab_bar_at_bottom = true,

6
.zshrc
View file

@ -126,6 +126,12 @@ rg() {
/usr/bin/rg -p "$@" | bat
}
fix_cursor() {
echo -ne '\e[5 q'
}
precmd_functions+=(fix_cursor)
## Prompt
eval "$(starship init zsh)"