From c9858f8bc8e106348be6541ec99286110b9cec7a Mon Sep 17 00:00:00 2001 From: LLM user Date: Thu, 13 Mar 2025 14:03:03 -0700 Subject: [PATCH] Updated zshrc --- home_root/.zshrc | 8 +++++++- lk-installers/install-apt-pkgs | 2 +- lk-installers/install-zellij | 0 3 files changed, 8 insertions(+), 2 deletions(-) mode change 100644 => 100755 lk-installers/install-zellij diff --git a/home_root/.zshrc b/home_root/.zshrc index 3529f16..ae42df5 100644 --- a/home_root/.zshrc +++ b/home_root/.zshrc @@ -98,7 +98,13 @@ eval $(thefuck --alias fk) zinit light Aloxaf/fzf-tab -source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh + +if [[ $(uname) == "Darwin" ]]; then + source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh +elif [[ $(uname) == "Linux" ]]; then + source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh +fi + bindkey '^[[B' history-search-forward bindkey '^[[A' history-search-backward diff --git a/lk-installers/install-apt-pkgs b/lk-installers/install-apt-pkgs index 8497aa6..7f4e9be 100755 --- a/lk-installers/install-apt-pkgs +++ b/lk-installers/install-apt-pkgs @@ -1,3 +1,3 @@ sudo apt update -sudo apt install neovim vim-nox btop htop neofetch curl wget tldr git zip unzip stow zsh cargo --no-install-recommends +sudo apt install neovim vim-nox btop htop neofetch curl wget tldr git zip unzip stow zsh zsh-autosuggestions zsh-syntax-highlighting cargo --no-install-recommends sudo apt install rar unrar --no-install-recommends diff --git a/lk-installers/install-zellij b/lk-installers/install-zellij old mode 100644 new mode 100755