Read the FAQ first
Description
When running alacritty with zellij terminal font detection fails with the error "Unknown terminal: zellij"
However when running with just alacritty it works as expected
While running zellij the environment variables ALACRITTY_SOCKET, ALACRITTY_LOG and ALACRITTY_WINDOW_ID remain set in the env output, so a fix could be checking environment if the process name is set to zellij
Version used
fastfetch 2.62.1 (x86_64)
Bug prevalence
Always
Regression
Not sure
Installation
Package manager
Package manager
home-manager with nixpkgs-unstable
Screenshots
Alacritty with zellij

Just alacritty

Configuration
System information
Features built-in
threads
vulkan
wayland
xcb-randr
xrandr
gio
dconf
dbus
imagemagick7
chafa
zlib
sqlite3
egl
glx
opencl
libpulse
libddcutil
libelf
System yyjson
linux/videodev2
linux/wireless
Read the FAQ first
Description
When running alacritty with zellij terminal font detection fails with the error "Unknown terminal: zellij"
However when running with just alacritty it works as expected
While running zellij the environment variables ALACRITTY_SOCKET, ALACRITTY_LOG and ALACRITTY_WINDOW_ID remain set in the
envoutput, so a fix could be checking environment if the process name is set to zellijVersion used
fastfetch 2.62.1 (x86_64)
Bug prevalence
Always
Regression
Not sure
Installation
Package manager
Package manager
home-manager with nixpkgs-unstable
Screenshots
Alacritty with zellij

Just alacritty

Configuration
{ "display": { "bar": { "border": { "left": "(", "right": ")" }, "char": { "elapsed": " ", "total": " " }, "width": 10 }, "key": { "type": "icon", "width": 9 }, "percent": { "type": [ "num", "num-color", "bar" ] }, "separator": " »", "showErrors": true }, "logo": { "color": { "1": "#d360a4", "2": "#e4afcd", "3": "#fff", "4": "#56cef8" }, "source": "/nix/store/8yx7i8vgfwg4zh383y9mq34ypfd0cghv-fastfetch.txt", "type": "file" }, "modules": [ "title", "separator", { "format": "╭──« State »", "outputColor": "green", "type": "custom" }, { "format": "{capacity-bar} {capacity}", "keyColor": "green", "keyIcon": "│ ", "outputColor": "green", "percent": { "green": 40, "yellow": 20 }, "type": "battery" }, { "format": "{percentage-bar} {percentage}", "keyColor": "green", "keyIcon": "│ ", "outputColor": "green", "type": "brightness" }, { "format": "╭──« Hardware »", "outputColor": "yellow", "type": "custom" }, { "format": "{vendor} {family}", "keyColor": "yellow", "keyIcon": "│ ", "outputColor": "yellow", "type": "host" }, { "format": "{name} {width}x{height}@{refresh-rate} Hz", "keyColor": "yellow", "keyIcon": "│ ", "outputColor": "yellow", "type": "display" }, { "format": "{vendor} {cores-logical} cores {freq-max}", "keyColor": "yellow", "keyIcon": "├╮ ", "outputColor": "yellow", "type": "cpu" }, { "format": "{avg-bar} {avg}", "keyColor": "yellow", "keyIcon": "│╵ ", "outputColor": "yellow", "percent": { "green": 30, "yellow": 70 }, "type": "cpuusage" }, { "format": "{vendor} {type} {max-speed} MHz {size}", "keyColor": "yellow", "keyIcon": "├╮ ", "outputColor": "yellow", "type": "physicalmemory" }, { "format": "{percentage-bar} {percentage}", "keyColor": "yellow", "keyIcon": "│╵ ", "outputColor": "yellow", "type": "memory" }, { "format": "{name} {interconnect} {physical-type}", "keyColor": "yellow", "keyIcon": "├╮ ", "outputColor": "yellow", "type": "physicaldisk" }, { "folders": [ "/" ], "format": "{size-percentage-bar} {size-percentage}", "keyColor": "yellow", "keyIcon": "│╵ ", "outputColor": "yellow", "percent": { "green": 60, "yellow": 80 }, "type": "disk" }, { "format": "{vendor} {name} {frequency}", "keyColor": "yellow", "keyIcon": "│ ", "outputColor": "yellow", "type": "gpu" }, { "format": "╭──« Styling »", "outputColor": "cyan", "type": "custom" }, { "brightness": "light", "key": "X", "keyColor": "cyan", "keyIcon": "│ ", "outputColor": "cyan", "symbol": "circle", "type": "colors" }, { "format": "{name} {version}", "keyColor": "cyan", "keyIcon": "│ ", "outputColor": "cyan", "type": "editor" }, { "format": "{pretty-name} {version}", "keyColor": "cyan", "keyIcon": "├╮ ", "outputColor": "cyan", "type": "terminal" }, { "format": "{pretty-name} {version}", "keyColor": "cyan", "keyIcon": "│╵ ", "outputColor": "cyan", "type": "shell" }, { "format": "{combined}", "keyColor": "cyan", "keyIcon": "│╵ ", "outputColor": "cyan", "type": "terminalfont" }, { "format": "{theme}", "keyColor": "cyan", "keyIcon": "│ ", "outputColor": "cyan", "type": "cursor" }, { "format": "{combined}", "keyColor": "cyan", "keyIcon": "│ ", "outputColor": "cyan", "type": "font" }, { "format": "{icons1} | {icons2}", "keyColor": "cyan", "keyIcon": "│ ", "outputColor": "cyan", "type": "icons" }, { "format": "╭──« System »", "outputColor": "red", "type": "custom" }, { "format": "{pretty-name}", "keyColor": "red", "keyIcon": "│ ", "outputColor": "red", "type": "os" }, { "format": "{arch} {sysname} {release}", "keyColor": "red", "keyIcon": "│ ", "outputColor": "red", "type": "kernel" }, { "disabled": [ "am", "apk", "brew", "choco", "dpkg", "emerge", "eopkg", "flatpak", "guix", "hpkg", "linglong", "lpkg", "lpkgbuild", "macports", "mport", "opkg", "pacman", "pacstall", "paludis", "pisi", "pkg", "pkgtool", "rpm", "scoop", "snap", "sorcery", "winget", "xbps" ], "format": "system: {nix-system} | user: {nix-user}", "keyColor": "red", "keyIcon": "│ ", "outputColor": "red", "type": "packages" } ] }System information
[ { "type": "Title", "result": { "userId": 1000, "userName": "nokarm", "fullUserName": "nokarm", "hostName": "mithril", "homeDir": "/home/nokarm/", "exePath": "/nix/store/g76acpi820c9a2x9gmgn5hwimpbqgs7j-fastfetch-2.62.1/bin/.fastfetch-wrapped", "userShell": "/run/current-system/sw/bin/bash", "pid": 292710, "cwd": "/home/nokarm/nixos/" }, "stat": 0.0033790022134780884 }, { "type": "Separator", "error": "Unsupported for JSON format", "stat": 0.000451013445854187 }, { "type": "OS", "result": { "buildID": "26.05.20260510.da5ad66", "codename": "yarara", "id": "nixos", "idLike": "", "name": "NixOS", "prettyName": "NixOS 26.05 (Yarara)", "variant": "", "variantID": "", "version": "26.05 (Yarara)", "versionID": "26.05" }, "stat": 0.051632001996040344 }, { "type": "Host", "result": { "family": "ThinkPad T480s", "name": "20L8S37S00", "version": "ThinkPad T480s", "sku": "LENOVO_MT_20L8_BU_Think_FM_ThinkPad T480s", "vendor": "LENOVO", "serial": "", "uuid": "" }, "stat": 0.053906992077827454 }, { "type": "BIOS", "result": { "date": "09/05/2025", "release": "1.62", "vendor": "LENOVO", "version": "N22ET85W (1.62 )", "type": "UEFI" }, "stat": 0.034575000405311584 }, { "type": "Bootmgr", "result": { "name": "Linux Boot Manager", "firmware": "\\EFI\\systemd\\systemd-bootx64.efi", "order": 1, "secureBoot": false }, "stat": 2.215714991092682 }, { "type": "Board", "result": { "name": "20L8S37S00", "vendor": "LENOVO", "version": "SDK0J40697 WIN", "serial": "" }, "stat": 0.04041101038455963 }, { "type": "Chassis", "result": { "type": "Notebook", "vendor": "LENOVO", "version": "", "serial": "" }, "stat": 0.03576900064945221 }, { "type": "Kernel", "result": { "architecture": "x86_64", "name": "Linux", "release": "7.0.5", "version": "#1-NixOS SMP PREEMPT_DYNAMIC Fri May 8 06:42:26 UTC 2026", "pageSize": 4096 }, "stat": 0.0008639991283416748 }, { "type": "InitSystem", "result": { "name": "systemd", "exe": "/nix/store/9rpism89x6lyjcwzzkp6kana25rs03nn-systemd-260.1/lib/systemd/systemd", "version": "260.1", "pid": 1 }, "stat": 5.244294002652168 }, { "type": "Uptime", "result": { "uptime": 179131130, "bootTime": "2026-05-25T19:24:59.716+0200" }, "stat": 0.06947499513626099 }, { "type": "Loadavg", "result": [ 0.36, 0.77, 1.1 ], "stat": 0.017778992652893066 }, { "type": "Processes", "result": 278, "stat": 0.30778300762176514 }, { "type": "Packages", "result": { "all": 1980, "nixSystem": 1238, "nixUser": 742 }, "stat": 101.26648299396038 }, { "type": "Shell", "result": { "exe": "/run/current-system/sw/bin/bash", "exeName": "bash", "exePath": "/nix/store/4bwbk4an4bx7cb8xwffghvjjyfyl7m2i-bash-interactive-5.3p9/bin/bash", "pid": 212040, "ppid": 211295, "processName": "bash", "prettyName": "bash", "version": "5.3.9", "tty": 17 }, "stat": 3.1168439984321594 }, { "type": "Editor", "result": { "type": "Editor", "name": "nano", "path": "/nix/store/9gh2l0an4zg9kazh03grvsyp9z6d8w4y-nano-9.0/bin/nano", "exe": "nano", "version": "9.0" }, "stat": 1.4262519925832748 }, { "type": "Display", "result": [ { "id": 211213632613, "name": "CMN14FF", "primary": false, "output": { "width": 1920, "height": 1080, "refreshRate": 60.008, "drrStatus": null, "dpi": 96 }, "scaled": { "width": 1920, "height": 1080 }, "preferred": { "width": 1920, "height": 1080, "refreshRate": 60.008 }, "physical": { "width": 310, "height": 170 }, "rotation": 0, "bitDepth": 0, "hdrStatus": "Unsupported", "type": "Builtin", "manufactureDate": { "year": 2018, "week": 47 }, "serial": null, "platformApi": "wayland-zwlr" } ], "stat": 3.5849020034074783 }, { "type": "Brightness", "result": [ { "name": "CMN14FF", "max": 1515.0, "min": 0.0, "current": 1215.0, "builtin": true } ], "stat": 0.06847000122070312 }, { "type": "Monitor", "error": "Monitor module is an alias of Display module", "stat": 0.0006990134716033936 }, { "type": "LM", "result": { "service": "login", "type": "Wayland", "version": "" }, "stat": 0.013639986515045166 }, { "type": "DE", "error": "No DE found", "stat": 0.0004960000514984131 }, { "type": "WM", "result": { "processName": "niri", "prettyName": "niri", "protocolName": "Wayland", "pluginName": "", "version": "26.04" }, "stat": 41.2275710105896 }, { "type": "WMTheme", "error": "Unknown WM: niri", "stat": 0.0026639997959136963 }, { "type": "Theme", "result": { "theme1": "", "theme2": "Adwaita [GTK3]" }, "stat": 0.1264760047197342 }, { "type": "Icons", "result": { "icons1": "", "icons2": "Adwaita [GTK3]" }, "stat": 0.0013940036296844482 }, { "type": "Font", "result": { "display": "Adwaita Sans (11pt) [GTK3]", "fonts": [ "", "", "Adwaita Sans (11pt)", "" ] }, "stat": 0.007221996784210205 }, { "type": "Cursor", "result": { "theme": "catppuccin-mocha-mauve-cursors", "size": "24" }, "stat": 0.0016649961471557617 }, { "type": "Wallpaper", "error": "Failed to detect the current wallpaper path", "stat": 0.0007220059633255005 }, { "type": "Terminal", "result": { "processName": "zellij", "exe": "/nix/store/9bfm72xkp9dxdq2fbcabckds2jjfzx5q-zellij-0.44.2/bin/zellij", "exeName": "zellij", "exePath": "/nix/store/9bfm72xkp9dxdq2fbcabckds2jjfzx5q-zellij-0.44.2/bin/zellij", "pid": 211295, "ppid": 1718, "prettyName": "zellij", "version": "0.44.2", "tty": "/dev/pts/17" }, "stat": 9.630369007587433 }, { "type": "TerminalFont", "error": "Unknown terminal: zellij", "stat": 0.005370989441871643 }, { "type": "TerminalSize", "result": { "columns": 116, "rows": 22, "width": 928, "height": 440 }, "stat": 0.00869201123714447 }, { "type": "TerminalTheme", "result": { "fg": { "r": 205, "g": 214, "b": 244, "dark": false }, "bg": { "r": 30, "g": 30, "b": 46, "dark": true } }, "stat": 5.9305959939956665 }, { "type": "CPU", "result": { "cpu": "Intel(R) Core(TM) i7-8650U", "vendor": "GenuineIntel", "packages": 1, "cores": { "physical": 4, "logical": 8, "online": 8 }, "frequency": { "base": 2100, "max": 4200 }, "coreTypes": [ { "count": 8, "freq": 1900 } ], "temperature": 48.0, "march": "x86_64-v3", "numaNodes": 1 }, "stat": 0.7680610120296478 }, { "type": "CPUCache", "result": { "l1": [ { "size": 32768, "num": 4, "lineSize": 64, "type": "data" }, { "size": 32768, "num": 4, "lineSize": 64, "type": "instruction" } ], "l2": [ { "size": 262144, "num": 4, "lineSize": 64, "type": "unified" } ], "l3": [ { "size": 8388608, "num": 1, "lineSize": 64, "type": "unified" } ] }, "stat": 1.5165949910879135 }, { "type": "CPUUsage", "result": [ 5.0, 0.0, 5.0, 5.0, 10.0, 0.0, 0.0, 0.0 ], "stat": 200.40120700001717 }, { "type": "GPU", "result": [ { "index": null, "coreCount": null, "coreUsage": null, "memory": { "dedicated": { "total": null, "used": null }, "shared": { "total": null, "used": null }, "type": null }, "driver": "i915", "name": "UHD Graphics 620", "temperature": null, "type": "Integrated", "vendor": "Intel", "platformApi": "DRM (card1)", "frequency": 1150, "deviceId": 16 } ], "stat": 5.527587994933128 }, { "type": "Memory", "result": { "total": 8060477440, "used": 4453613568 }, "stat": 0.049097999930381775 }, { "type": "PhysicalMemory", "result": [ { "size": 8589934592, "installed": true, "maxSpeed": 2400, "runningSpeed": 2400, "type": "DDR4", "locator": "BANK 0/ChannelA-DIMM0", "formFactor": "SODIMM", "vendor": "Samsung", "serial": "00000000", "partNumber": "M471A1K43BB1-CRC", "ecc": false } ], "stat": 0.05217999219894409 }, { "type": "Swap", "result": [ { "name": "/dev/nvme0n1p3", "used": 1939603456, "total": 9448923136 } ], "stat": 0.03595900535583496 }, { "type": "Disk", "result": [ { "bytes": { "available": 110797152256, "free": 123090714624, "total": 240544432128, "used": 117453717504 }, "files": { "total": 14991360, "used": 3036740 }, "filesystem": "ext4", "mountpoint": "/", "mountFrom": "/dev/nvme0n1p2", "name": "root", "volumeType": [ "Regular" ], "createTime": "2026-04-27T02:59:59.000+0200" }, { "bytes": { "available": 110797152256, "free": 123090714624, "total": 240544432128, "used": 117453717504 }, "files": { "total": 14991360, "used": 3036740 }, "filesystem": "ext4", "mountpoint": "/nix/store", "mountFrom": "/dev/nvme0n1p2", "name": "root", "volumeType": [ "Subvolume", "Read-only" ], "createTime": "2026-04-27T03:00:05.735+0200" } ], "stat": 0.5391319990158081 }, { "type": "Btrfs", "error": "opendir(\"/sys/fs/btrfs\") == NULL", "stat": 0.017124995589256287 }, { "type": "Zpool", "error": "fastfetch was compiled without libzfs support", "stat": 0.0018009990453720093 }, { "type": "Battery", "result": [ { "capacity": 100.0, "manufacturer": "LGC", "manufactureDate": "", "modelName": "01AV478", "technology": "Li-poly", "serial": " 2979", "temperature": null, "cycleCount": 1497, "timeRemaining": null, "status": [ "AC Connected" ] } ], "stat": 6.357283994555473 }, { "type": "PowerAdapter", "result": [], "stat": 0.792604997754097 }, { "type": "Player", "error": "Player module is an alias of Media module", "stat": 0.002231001853942871 }, { "type": "Media", "result": { "song": { "name": "Laplace’s Angel (Hurt People? Hurt People!)", "artist": "Will Wood", "album": "The Normal Album", "status": "Playing", "cover": null }, "player": { "name": "Mozilla firefox", "id": "firefox.instance_1_413", "url": "https://open.spotify.com/playlist/3uqfKmEihPJOs60CbmOV8M" } }, "stat": 5.761276006698608 }, { "type": "PublicIp", "result": { "ip": "213.134.179.89", "location": "Warsaw, PL" }, "stat": 0.16133999824523926 }, { "type": "LocalIp", "result": [ { "name": "wlp61s0", "defaultRoute": { "ipv4": true, "ipv6": true }, "ipv4": "192.168.0.238/24", "ipv6": "2a02:a31c:2b7:8900:4e11:5e2b:f645:c7db/64,2a02:a31c:2b7:8900:2cfb:59e1:c0b0:20c1/64,2a02:a31c:2b7:8" // not the whole thing but oh well, the terminal clipped it "mac": "b4:6b:fc:9a:c4:eb", "mtu": 1500, "speed": -1, "flags": "UP,BROADCAST,RUNNING,MULTICAST,LOWER_UP" } ], "stat": 0.3101769983768463 }, { "type": "DNS", "result": [ "192.168.0.1", "2a02:a302:0:1::10", "2a02:a302:0:1::100", "2a02:a31c:2b7:8900:b2b3:69ff:fe78:c5f2" ], "stat": 0.046705007553100586 }, { "type": "Wifi", "result": [ { "inf": { "description": "wlp61s0", "status": "up" }, "conn": { "status": "connected", "ssid": "PLAY_Swiatlowodowy_C5F2_5G", "bssid": "B0:B3:69:78:C5:F7", "protocol": "", "security": "WPA/WPA2", "signalQuality": 100.0, "rxRate": null, "txRate": 866.7, "channel": 44, "frequency": 5220 } } ], "stat": 10.797953993082047 }, { "type": "DateTime", "result": "2026-05-27T21:10:31.246+0200", "stat": 0.03886500000953674 }, { "type": "Locale", "result": "en_US.UTF-8", "stat": 0.004643991589546204 }, { "type": "Vulkan", "result": { "apiVersion": "1.4.348", "conformanceVersion": "1.4", "driver": "Intel open-source Mesa driver [Mesa 26.1.0]", "gpus": [ { "type": "Integrated", "vendor": "Intel", "name": "Intel(R) UHD Graphics 620 (KBL GT2)", "driver": "Mesa 26.1.0", "platformApi": "Vulkan 1.4.348", "deviceId": 22807, "memory": { "dedicated": { "total": 0, "used": null }, "shared": { "total": 6045358080, "used": null } }, "deviceId": 22807 } ] }, "stat": 80.78516499698162 }, { "type": "OpenGL", "result": { "version": "4.6 (Compatibility Profile) Mesa 26.1.0", "renderer": "Mesa Intel(R) UHD Graphics 620 (KBL GT2)", "vendor": "Intel", "slv": "4.60", "library": "EGL 1.5" }, "stat": 20.828272998332977 }, { "type": "OpenCL", "error": "clGetPlatformIDs() failed: CL_PLATFORM_NOT_FOUND_KHR", "stat": 1.4830600023269653 }, { "type": "Users", "result": [ { "name": "nokarm", "hostName": "", "sessionName": "tty1", "clientIp": "", "loginTime": "2026-05-25T19:25:21.300+0200" } ], "stat": 0.10240200161933899 }, { "type": "Bluetooth", "result": [ { "address": "BC:0F:F3:9D:FE:AF", "battery": 90, "connected": true, "name": "HyperX Cloud Jet", "type": "audio-headphones" } ], "stat": 0.6314850002527237 }, { "type": "BluetoothRadio", "result": [ { "name": "mithril", "address": "B4:6B:FC:9A:C4:EF", "lmpVersion": 8, "lmpSubversion": null, "vendor": "Intel", "enabled": true, "discoverable": false, "connectable": false } ], "stat": 0.30264799296855927 }, { "type": "Sound", "result": [ { "name": "HyperX Cloud Jet", "identifier": "bluez_output.BC_0F_F3_9D_FE_AF.1", "platformApi": "PipeWire 1.6.3", "type": [ "main", "active" ], "volume": 100 } ], "stat": 9.557638004422188 }, { "type": "Camera", "result": [], "stat": 0.008420988917350769 }, { "type": "Gamepad", "result": [], "stat": 0.029047995805740356 }, { "type": "Mouse", "result": [ { "serial": "", "name": "Elan Touchpad", "ignored": false }, { "serial": "", "name": "Elan TrackPoint", "ignored": false } ], "stat": 0.09629599750041962 }, { "type": "Keyboard", "result": [ { "serial": "", "name": "AT Translated Set 2 keyboard", "ignored": false } ], "stat": 0.0740090012550354 }, { "type": "Weather", "result": "+18°C - Sunny (warsaw, mazovia, pl)", "stat": 0.07587499916553497 }, { "type": "NetIO", "result": [ { "name": "wlp61s0", "defaultRoute": true, "txBytes": 3602, "rxBytes": 179189, "txPackets": 25, "rxPackets": 144, "rxErrors": 0, "txErrors": 0, "rxDrops": 0, "txDrops": 0 } ], "stat": 478.427864998579 }, { "type": "DiskIO", "result": [ { "name": "SAMSUNG MZVPW256HEGL-000H1", "devPath": "/dev/nvme0n1", "bytesRead": 16719872, "bytesWritten": 102400, "readCount": 387, "writeCount": 3 } ], "stat": 0.37014099955558777 }, { "type": "PhysicalDisk", "result": [ { "name": "SAMSUNG MZVPW256HEGL-000H1", "devPath": "/dev/nvme0n1", "interconnect": "NVMe", "kind": "SSD", "size": 256060514304, "serial": "S34ENB0K806537", "removable": false, "readOnly": false, "unknown": false, "revision": "CXZ74H0Q", "temperature": 31.85 } ], "stat": 2.23403799533844 }, { "type": "TPM", "result": { "version": "2.0", "description": "" }, "stat": 0.15211699903011322 }, { "type": "Version", "result": { "projectName": "fastfetch", "sysName": "Linux", "architecture": "x86_64", "version": "2.62.1", "versionGit": "", "cmakeBuiltType": "Release", "compileTime": "Jan 1 1980, 00:00:00", "compiler": "gcc 15.2.0", "debugMode": false, "libc": "glibc 2.42" }, "stat": 0.011710003018379211 }, { "type": "Break", "error": "Unsupported for JSON format", "stat": 0.007809996604919434 }, { "type": "Colors", "error": "Unsupported for JSON format", "stat": 0.0017829984426498413 } ]Features built-in