From d960c7b9409c1882ca2096da5bf375c7e8b4d0a4 Mon Sep 17 00:00:00 2001 From: tim Date: Mon, 30 Sep 2024 14:56:01 +0200 Subject: [PATCH] Move zcompdump and add omz update --- bin/bin/update | 5 ++++- zsh/.zshrc | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/bin/update b/bin/bin/update index 384fd27..89952eb 100755 --- a/bin/bin/update +++ b/bin/bin/update @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/zsh echo -e "\n########## START UPDATE ##########\n" sudo apt-get update -y echo -e "\n########## START UPGRADE ##########\n" @@ -9,3 +9,6 @@ echo -e "\n########## START AUTOCLEAN ##########\n" sudo apt-get autoclean -y echo -e "\n########## START AUTOREMOVE ##########\n" sudo apt-get autoremove -y + +echo -e "\n########## START Oh My Zsh update ##########\n" +$ZSH/tools/upgrade.sh diff --git a/zsh/.zshrc b/zsh/.zshrc index 8b5e73f..f14dcc3 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -7,6 +7,7 @@ fi # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" +export ZSH_COMPDUMP=$ZSH/cache/.zcompdump-$HOST ZSH_THEME="powerlevel10k/powerlevel10k" # Uncomment the following line to enable command auto-correction.