]> git.ale.wales Git - dotAle.git/commitdiff
226FR.39902-Blossom
authorTu Puta Madre <chinga@tu.madre>
Sat, 27 Jun 2026 15:34:36 +0000 (09:34 -0600)
committerTu Puta Madre <chinga@tu.madre>
Sat, 27 Jun 2026 15:34:36 +0000 (09:34 -0600)
.zshrc

diff --git a/.zshrc b/.zshrc
index 4fbb95cfc625d2fa45c8050e42f1fed9c50efa39..b8b14d4e2109e4093fdf362d6e21ce84d95d0238 100644 (file)
--- 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