]> git.ale.wales Git - dotAle.git/commitdiff
226FP.51730-Blossom
authorTu Puta Madre <chinga@tu.madre>
Thu, 25 Jun 2026 18:24:55 +0000 (12:24 -0600)
committerTu Puta Madre <chinga@tu.madre>
Thu, 25 Jun 2026 18:24:55 +0000 (12:24 -0600)
.bashrc [moved from bashrc with 100% similarity]
.zshrc [moved from zshrc with 88% similarity]
ale.sh
config/zsh/user.zsh [new file with mode: 0644]

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 7c59bdb93718d33f2c20484ed7c8cf195ed27407..4fbb95cfc625d2fa45c8050e42f1fed9c50efa39 100644 (file)
--- 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 0cb299b7542427f8795de2c089d9fd00fe46cfff..37608b81704ed59d52fe120068b24e0264cba3af 100755 (executable)
--- 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 (file)
index 0000000..e69de29