You are not logged in.

#1 2025-03-13 18:55:50

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 302
Website

SOLVED wezterm config

When opening a new wezterm window or tab, my starship prompt does not show up.
Instead I get the default prompt as defined by /etc/bash.bashrc.
Once I type enter I get my starship promt:

-`                    lenny@archie
                  .o+`                   ------------
                 `ooo/                   OS: Arch Linux x86_64
                `+oooo:                  Kernel: 6.13.6-arch1-1
               `+oooooo:                 Uptime: 16 secs
               -+oooooo+:                Packages: 1496 (pacman)
             `/:-:++oooo+:               Shell: bash 5.2.37
            `/++++/+++++++:              Resolution: 2560x1440
           `/++++++++++++++:             DE: GNOME 47.5
          `/+++ooooooooooooo/`           WM: Mutter
         ./ooosssso++osssssso+`          WM Theme: Adwaita
        .oossssso-````/ossssss+`         Theme: Adwaita [GTK2/3]
       -osssssso.      :ssssssso.        Icons: Adwaita [GTK2/3]
      :osssssss/        osssso+++.       Terminal: WezTerm
     /ossssssss/        +ssssooo/-       CPU: AMD Ryzen 7 5700G with Radeon Graphics (16) @ 4.673GHz
   `/ossssso+/:-        -:/+osssso+-     GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
  `+sso+:-`                 `.-/+oso:    Memory: 740MiB / 31378MiB
`++:.                           `-/+/
.`                                 `/


[lenny@archie ~]$

lenny archie ~ ❯

This does not happen with ghostty or gnome-console.
It's not a showstopper but I wonder if I configured something wrong.
My wezterm config is pretty basic as you can see here:

local wezterm = require 'wezterm'
local config = wezterm.config_builder()

-- theme
config.color_scheme = 'Dark Pastel (Gogh)'

-- colors
config.colors = {
  foreground = '#f5f5f5',
  background = '#0f0f0f',
}

-- window size
config.initial_rows = 50
config.initial_cols = 140

-- tabs
config.enable_tab_bar = true
config.use_fancy_tab_bar = true

return config

Did I miss something in the docs?

Last edited by lenhuppe (2025-03-13 20:29:17)

Offline

#2 2025-03-13 20:28:43

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 302
Website

Re: SOLVED wezterm config

Solution:

The wezterm package does doe not include a terminfo file.
I created a pacman hook to download it automatically.

termin-info settings

Last edited by lenhuppe (2025-03-13 20:53:26)

Offline

Board footer

Powered by FluxBB