From 3f0a914c8c83cc84b028354d7e9a30be131f46a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Ole=20Hu=CC=88bner?= Date: Sun, 6 Apr 2025 22:47:34 +0200 Subject: [PATCH] feat: add p10k installation --- .zshrc.d/install_dotfiles.zsh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.zshrc.d/install_dotfiles.zsh b/.zshrc.d/install_dotfiles.zsh index 91ae7b6..811978c 100644 --- a/.zshrc.d/install_dotfiles.zsh +++ b/.zshrc.d/install_dotfiles.zsh @@ -19,4 +19,13 @@ install_dotfiles () { dotfiles_install_error="yes" fi fi + + if [[ ! -d ~/.oh-my-zsh ]]; then + sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended --keep-zshrc + git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $HOME/.oh-my-zsh/themes/powerlevel10k + fi + + + } +