From 97e0fe4bc1be072cc751a385fd50887ccaa32021 Mon Sep 17 00:00:00 2001 From: Oshgnacknak Date: Wed, 10 Sep 2025 17:30:15 +0200 Subject: [PATCH] Autostart zsh --- _zshrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/_zshrc b/_zshrc index dda566f..6794be3 100755 --- a/_zshrc +++ b/_zshrc @@ -30,8 +30,11 @@ function zle-keymap-select { } zle -N zle-keymap-select -[ -f "$HOME/./config/bashrc" ] && emulate sh -c "source $HOME/./config/bashrc" -[ -f "$HOME/.bashrc" ] && emulate sh -c "source $HOME/.bashrc" +if [ -f "$HOME/.config/bashrc" ]; then + emulate sh -c "source $HOME/.config/bashrc" +else if [ -f "$HOME/.bashrc" ]; + emulate sh -c "source $HOME/.bashrc" +fi [ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ] && source "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" [ -f "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" ] && source "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"