From 0ee0b775374cd5d9e1466c2dca4f89fcad0d2416 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 22 Nov 2022 09:55:14 +0100 Subject: [PATCH] bar cursor in zsh --- .config/wezterm/wezterm.lua | 4 ++++ .zshrc | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua index b672b9e..8abb3cf 100644 --- a/.config/wezterm/wezterm.lua +++ b/.config/wezterm/wezterm.lua @@ -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, diff --git a/.zshrc b/.zshrc index 5200793..6151653 100644 --- a/.zshrc +++ b/.zshrc @@ -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)"