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