From 1a9eaf17d5ca121180e34ab3f3f0bf523cb42693 Mon Sep 17 00:00:00 2001 From: Tu Puta Madre Date: Thu, 25 Jun 2026 12:24:55 -0600 Subject: [PATCH] 226FP.51730-Blossom --- bashrc => .bashrc | 0 zshrc => .zshrc | 5 +++-- ale.sh | 7 +++++-- config/zsh/user.zsh | 0 4 files changed, 8 insertions(+), 4 deletions(-) rename bashrc => .bashrc (100%) rename zshrc => .zshrc (88%) create mode 100644 config/zsh/user.zsh diff --git a/bashrc b/.bashrc similarity index 100% rename from bashrc rename to .bashrc diff --git a/zshrc b/.zshrc similarity index 88% rename from zshrc rename to .zshrc index 7c59bdb..4fbb95c 100644 --- a/zshrc +++ b/.zshrc @@ -22,13 +22,14 @@ RPS1=' [${ETIME}]%(?.%F{green}√.%F{red}?%?)%f' # History en directorio de cache: HISTSIZE=10000000 SAVEHIST=10000000 -HISTFILE=$XDG_CACHE_HOME/zsh/history # <-- Es necesario crear el directorio y de preferencia eliminar ~/.zsh_history que se crea por defecto +HISTFILE=$XDG_CACHE_HOME/zsh/hist # Basic auto/tab complete: autoload -U compinit zstyle ':completion:*' menu select zmodload zsh/complist -compinit +touch $XDG_CACHE_HOME/zsh/.zcompdump +compinit -d $XDG_CACHE_HOME/zsh/.zcompdump _comp_options+=(globdots) # Importar aliases diff --git a/ale.sh b/ale.sh index 0cb299b..37608b8 100755 --- a/ale.sh +++ b/ale.sh @@ -14,7 +14,7 @@ fi # Main if [ $isVoid ]; then - ln -sf /git/dotAle/zshrc ~/.zshrc + ln -sf /git/dotAle/.zshrc ~/.zshrc mkdir -p /home/ale/.config mkdir -p /home/ale/.cache/zsh touch /home/ale/.cache/zsh/hist @@ -24,10 +24,13 @@ if [ $isVoid ]; then fi ln -sf /git/dotAle/config/${dir##*/} /home/ale/.config/ done + if [ -f ~/.zcompdump ]; then + rm ~/.zcompdump + fi mkdir -p ~/.ssh ln -sf /git/dotAle/ssh/* ~/.ssh/ else - ln -sf /git/dotAle/bashrc ~/.bashrc + ln -sf /git/dotAle/.bashrc ~/.bashrc mkdir -p ~/.config cp -r /git/dotAle/config/* ~/.config/ rm -rf ~/.config/zsh diff --git a/config/zsh/user.zsh b/config/zsh/user.zsh new file mode 100644 index 0000000..e69de29 -- 2.47.3