From 8afb5682752c58a080fdc691df190792f5d03711 Mon Sep 17 00:00:00 2001 From: Tu Puta Madre Date: Sat, 27 Jun 2026 09:34:36 -0600 Subject: [PATCH] 226FR.39902-Blossom --- .zshrc | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/.zshrc b/.zshrc index 4fbb95c..b8b14d4 100644 --- a/.zshrc +++ b/.zshrc @@ -1,10 +1,24 @@ -ufetch +fastfetch autoload -U colors && colors setopt PROMPT_SUBST export XDG_CONFIG_HOME="/home/ale/.config" export XDG_CACHE_HOME="/home/ale/.cache" export XDG_DATA_HOME="/home/ale/.local/share" export XDG_STATE_HOME="/home/ale/.local/state" +export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/mbin" + +# Prompt String 1 +if [[ $TERM == "linux" ]]; then + bkg="yellow" + nam="yellow" + hst="blue" + tme="white" +else + bkg="#f66600" + nam="#0066f6" + hst="#00f666" + tme="#6600f6" +fi preexec() { typeset -gi CALCTIME=1 typeset -gi CMDSTARTTIME=SECONDS @@ -14,17 +28,17 @@ precmd() { typeset -gi ETIME=SECONDS-CMDSTARTTIME fi typeset -gi CALCTIME=0 - print -rP "%K{yellow}%B%F{yellow}%n%b%f%F{4}@%M %f%k%S%/%s" + print -rP "%K{$bkg}%B%F{$nam}%n%b%f%F{$hst}@%M %f%k%S%/%s" } -PS1='%K{3}%F{0}%T - %f%k%# ' -RPS1=' [${ETIME}]%(?.%F{green}√.%F{red}?%?)%f' +PS1='%K{$bkg}%F{$tme}%B $(/mbin/tiempo -s) %b%f%k%# ' +RPS1=' [$ETIME]%(?.%F{green}√.%F{red}?%?)%f' -# History en directorio de cache: +# Historial en directorio de cache HISTSIZE=10000000 SAVEHIST=10000000 HISTFILE=$XDG_CACHE_HOME/zsh/hist -# Basic auto/tab complete: +# Autocompletar con TAB autoload -U compinit zstyle ':completion:*' menu select zmodload zsh/complist -- 2.47.3