#!/bin/bash
# Ghostty Terminal Support
# Part of wlanpi-shell-config package
# This is optional - safe to remove if you don't use Ghostty terminal

# Ghostty uses xterm-ghostty as TERM but needs xterm-256color for compatibility
if [[ "$TERM" == "xterm-ghostty" ]]; then
    export TERM=xterm-256color
    # Set a clean colorized prompt for ghostty
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '
fi
